Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 1.46 KB

README.md

File metadata and controls

63 lines (49 loc) · 1.46 KB

DevCamper API

Backend API for DevCamper application, a bootcamp directory website built in Node.js with Express and MongoDB (by Brad Traversy on Udemy)

Useage

Rename config/config.env.env to config/config.env and update the values/settings to your own

Install Dependencies

npm install

Run App

# Run in dev mode
npm run dev

# Run in production mode
npm start
  • Version: 1.0.0

  • Licence: MIT

Objectives

  • Real World Backend RESTful API For Bootcamp Directory App
  • HTTP Fundamentals (Req/Res Cycle, Status Codes, etc)
  • Advanced Mongoose Queries
  • JWT/Cookie Authentication
  • Express & Mongoose Middleware (Geocoding, Auth, Error Handling, etc)
  • API Security (NoSQL injection, XSS protection, Rate Limiting)
  • API Documentation & Deployment

Learning Outcomes

  • HTTP Essentials
  • Postman Client
  • RESTful APIs
  • Express Framework
  • Routing & Controller Methods
  • MongoDB Atlas & Compass
  • Mongoose ODM
  • Advanced Query (Pagination, filter, etc)
  • Models & Relationships
  • Middleware (Express & Mongoose)
  • MongoDB Geospatial Index / GeoJSON
  • Geocoding
  • Custom Error Handling
  • User Roles & Permissions
  • Aggregation
  • Photo Upload
  • Authentication With JWT & Cookies
  • Emailing Password Reset Tokens
  • Custom Database Seeder Using JSON Files
  • Password & Token Hashing
  • Security: NoSQL Injection, XSS, etc
  • Creating Documentation
  • Deployment With PM2, NGINX, SSL