This is the source code for Complete News/Blog API using NodeJS (Express), MongoDB with Swagger - Part 1 of my Complete MERN Stack journey on GIZ Schorlaship
In this repo, we develop the REST API with the following features:
- Authentication and authorization using PassportJS and JWT
- Model validations using express-validator
- Data modeling and schema construction using Mongoose
- Categories, stories, videos and comments CRUD and authorized or protected routes
- Swagger documentation with authentication and image uploading using swagger-autogen
- Emails sending, data pagination, rate limiting, and image uploading.
To run The app locally: Git clone the repo Npm install in repo yarn start-gendoc
or you start without the swagger app yarn start