This project was bootstrapped with Create React App.
Below you will find some information on how to perform common tasks.
You can find the most recent version of this guide here.
This repo has has essentially two apps that talk to each other via API calls
- Front end: React App that runs on port 3000
- Backend end: A Node/Express API app that runs on port 9000
The apps are separated because I have found that having a clean separation makes the API design much cleaner from the start.
https://vast-ravine-24080.herokuapp.com/
- Starting the server: this runs on port 9000
node server.js
- Starting the React Client: this runs on port 3000
a) cd into /client
b) npm start
-
Node/Express app listening to a port on local machine
-
Integrate postgres into app
-
Node/Express/Postgres with user creation via API request (Postman) a) name, email, password
-
Node/Express/Postgres with user authentication via API request (Postman)
-
Create different types of users (admin, user, consultant) via API
-
view all users created of users via API request (Postman)
-
Manually add a new user via API request (Postman)
-
Manually deactivate a user via API request (Postman)
-
Glue together a React app that hits the Node API
-
React app: add routing system
-
React app: registration page
-
React app: login page /login
-
React app: view all users page /users
-
React app: When user logs in the data is returned to the dashboard component
-
React app: add a user manually via /users page
-
React app: remove a user manually via /users page
-
React app: batch create users via CSV in /users page
-
deploy to node.js backend to Heroku
-
Have postgres on Heroku
-
Point React app to heroku server (instead of local)