This project is a fullstack React and Express App using React hooks and was bootstrapped with create-react-app. It makes use of PSQL database and requires auth0 settings.
- The "client" directory which contains the React.js App and
- The "server" directory which contains the node.js express server.
-
Firstly, open 2 terminals to cd into the different directories to install the necessary dependencies.
-
Secondly, install PSQL. Visit the Offical PSQL Website for more information.
cd client
cd server
and
- Open the PSQL shell and login.
- Create a PSQL database for the project (if you have not already done so).
- Copy the SQL code in the server/main/schema.sql file and paste it in as commands into the PSQL shell.
- Goto the server/main/db.js file and make required adjustments in the db.js file for the PSQL database login info.