adds code


This is Part 1 of how to Develop a Complete MERN Stack News Application with REST API, Admin Panel, Mobile App, and Frontend Website series. In this four-part tutorial series, we will develop end-to-end news or blog application comprising of a REST API, an Admin panel, a frontend website, and Android and iOS mobile applications using NodeJS, Express, MongoDB, ReactJS and React Native. In this part, we develop the REST API with the following features: 1. Authentication and authorization using PassportJS and JWT 2. Model validations using express-validator 3. Data modeling and schema construction using Mongoose 4. Categories, stories, videos and comments CRUD and authorized or protected routes 5. Swagger documentation with authentication and image uploading using swagger-autogen 6. Emails sending, data pagination, rate limiting, and image uploading. Source code: Github: https://github.com/markscodingspot/ExpressNewsApi -------Contents-------- 0:00​​ - Intro 4:04​ - Demo of applications 18:15​ - Creating and Installing Packages 48:14​ - Creation of Mongoose Schemas/Models 01:15:26​ - Controllers 03:05:40​ - Middleware 03:20:40 - Express Routes 04:11:46​ - Model Validations 04:44:57 - Swagger 05:36:31​ - Sending Emails 06:08:28​ - Conclusion Website - https://markscodingspot.com Facebook - https://facebook.com/markscodingspot Twitter - https://twitter.com/markscodingspot Instagram - https://www.instagram.com/markscodingspot
Previous Post Next Post