Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jagritx/social-backend-template
- Owner: jagritx
- Created: 2023-03-18T17:21:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-20T11:55:14.000Z (almost 2 years ago)
- Last Synced: 2024-11-28T06:04:51.366Z (about 1 month ago)
- Topics: chaijs, docker, express, mocha, mongodb, nodejs
- Language: JavaScript
- Homepage: https://social-media-backend-y9gp.onrender.com/
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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)