Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jagritx/social-backend-template

A Template which includes APIs and Tests for a Social Media Backend : JWT Authentication, Follow, Posting, Liking, Commenting etc.
https://github.com/jagritx/social-backend-template

chaijs docker express mocha mongodb nodejs

Last synced: about 1 month ago
JSON representation

A Template which includes APIs and Tests for a Social Media Backend : JWT Authentication, Follow, Posting, Liking, Commenting etc.

Awesome Lists containing this project

README

        

# Social-Media-Backend (includes Tests)

Wrote APIs (including Tests) for a Backend for a Social Media which includes Token Authentication, Follow, Posting, Linking, Commenting etc.

Requires Node JS 14+

#### [Postman Documentation](https://documenter.getpostman.com/view/16265497/2s93JzLg5d)

Implemented using ES5+ Standards
## To Run
```sh
git clone
npm install
npm start
```

## Environment Variables:

```sh
MONGO
JWT
PORT
```

The app should be running on [localhost](http://localhost/) at the port mentioned.

## Testing
To run tests, simply run:
```sh
npm run test
```

![alt text](https://user-images.githubusercontent.com/63954010/226123103-49a5448d-15ef-4b30-9d1b-df8f6235cb4d.png)