Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.49 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.49 KB

MERN stack demo

How to run

  1. Deploy MongoDB database. Check 'database' directory for instructions on how to deploy db.

  2. Run the following on root directory.

npm install
npm run dev

URLs documented based on tutorial

Part 1: ExpressJS Goal APIs, and MongoDB instance

Database:
Check 'database' directory for instructions on how to deploy db.

Following databases were created:

  • mongodb://root:example@localhost:27017
  • mongodb://admin:password@localhost:27017/mernapp

Goal APIs:

Part 2: ExpressJS User APIs, and JWT authentication for routes

Updated routes to require Bearer token to be used.

User APIs:

Part 3: ReactJS front end, and Redux store, slice, and reducers

Added the following frontend ReactJS pages.

Part 4: ReactJS functions for goals CRUD

Fixed the following URL functionality