Ensure that there is a working version of the following before continuing: Node JS NPM PostgreSQL
Run the following commands to prepare the node-module dependancies:
- npm install pg
- npm install express
Using psql, perform a read file operation on the file initwithpopulate.sql:
- \i <path/to/initwithpopulate.sql>
In the server folder, start the express server by using the following command:
- node expressServer.js
Inside the frontend folder, perform the following command to install all dependancies of the react application:
- npm install package.json
While in the same folder, begin the server by typing the following:
- npm start