Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/draganaleksic99/social-media-app-backend

Web server built with Express.js and MongoDB
https://github.com/draganaleksic99/social-media-app-backend

chai express formidable jwt mocha mongodb mongoose nodejs sinonjs typescript

Last synced: about 1 month ago
JSON representation

Web server built with Express.js and MongoDB

Awesome Lists containing this project

README

        

# Social-Media-App-Backend

Web server built with Express.js and MongoDB

## Stack

- JavaScript Environment: [Node.js](https://nodejs.org/en)
- Framework: [Express.js](https://expressjs.com/)
- Database: [MongoDB](https://www.mongodb.com/)
- ODM: [Mongoose](https://mongoosejs.com/)
- Auth: [jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken)
- Tests: [Mocha](https://mochajs.org/), [Chai](https://www.chaijs.com/), [Sinon](https://sinonjs.org/)
- File upload: [formidable](https://www.npmjs.com/package/formidable)

## Quickstart

### 1. Clone this repository

Run the following command to clone the repo:

```
git clone https://github.com/DraganAleksic99/social-media-app-backend.git
```

### 2. Install dependencies

```
cd social-media-app-backend
npm i
```

### 3. Fill out secrets

```
cp .env.example .env
```

### 4. Run app locally

```
npm run dev
```

### Open in your browser

You can now visit http://localhost:3500.