Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahmnouira/imguploader.io

This is image uploading website developed using MEAN technologies.
https://github.com/ahmnouira/imguploader.io

async body-parser bootstrap4 database express handelbars imguploader machine md5 mongodb mongodb-database mongoose multer node-js nodejs standalone

Last synced: 4 days ago
JSON representation

This is image uploading website developed using MEAN technologies.

Awesome Lists containing this project

README

        

# 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](/img/index.png)

![footer](img/footer.png)

![images](/img/images.png)

![post](img/post.png)

## 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](https://nodejs.org/en/download/) 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`.
7. install [MongoDB](https://www.mongodb.com/) database `sudo apt-get install mongodb`.
8. run `mongo` and see if your database is installed.
9. to run the server `npm start`.

![start_server](/img/start_server.png)

#### About data in the database ?

* open your Terminal and the following commands
```javascript

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](/img/testing.png)