/Build-APP-SO-PEKOCKO

Build a Secure API for a Sauce reviews App

Primary LanguageJavaScript

So Pekocko Logo

Build-API: Application API

Front-end server

  • This is the MVP of the So Pekocko web application, a hot sauce company.

Prerequis

  • You need to install Node and npm locally on your computer.

Installation

I used

  • NodeJS JavaScript runtime environment
  • Express Framework Node.js
  • MongoDB database

Security Requirements

  • User password encrypted
  • Transport and storage of PII secure.
  • Authentication reinforced on the required routes
  • Email addresses in the database are unique and an appropriate Mongoose plugin is used to ensure their uniqueness and report errors

API Routes

  • All sauce-related routes require an authenticated request (containing a valid token in its Authorization header: "Bearer ")