Skip to content

This is image uploading website developed using MEAN technologies.

License

Notifications You must be signed in to change notification settings

ahmnouira/imgUploader.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imgUploader.io

  • This is a social image-sharing site developed using MEAN technologies.
  • This app is designed to run in multile ways.
  • This app support Unit Testing see below.

Overview

index

footer

images

post

Running this app

This app is designed to be run in different ways:

  1. As a standalone app running on your machine.

I. As a standalone app running on your machine

  1. run git clone https://github.com/AhmNouira/imgUploader.io to clone the GitHub repository.
  2. cd imgUploader.io cd to imgUploader folder.
  3. install node.js or run sudo apt-get install nodejs.
  4. run node -v && npm -v to check if nodejs and npm are installed and prints their versions.
  5. install the app dependices by running npm install.
  6. install MongoDB database sudo apt-get install mongodb.
  7. run mongo and see if your database is installed.
  8. to run the server npm start.

start_server

About data in the database ?

  • open your Terminal and the following commands
mongo                           // open mongoDB shell

show dbs                        // display your databases

use imgUploaderDB               // select the application database

db.printCollectionStats()     // print the stats of the db collections

db.images.find().pretty()    	// **display the images collections data**

db.comments.find().pretty()	   // **display the comments collections data**

Wanna check Unit Testing ?

  • run npm test.

testing