Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/draganaleksic99/social-media-app-backend
- Owner: DraganAleksic99
- Created: 2023-12-18T19:07:07.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-05-13T21:26:23.000Z (6 months ago)
- Last Synced: 2024-10-10T22:41:22.841Z (about 1 month ago)
- Topics: chai, express, formidable, jwt, mocha, mongodb, mongoose, nodejs, sinonjs, typescript
- Language: TypeScript
- Homepage:
- Size: 256 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.