Database set up:
-
Log into PSQL CLI tool. psql -U postgres
-
Create DB and leave PSQL CLI. CREATE database coolcars; \q
-
Run main.SQL. psql -U postgres -d coolcars -a -f ./database/main.sql
-
Run populate.SQL. psql -U postgres -d coolcars -a -f ./database/populate.sql
Frontend set up:
-
Run npm install.
-
Run npm run dev.
Server set up:
-
Run npm install if you haven't already.
-
Run npm build if you haven't already.
-
Run npm start.
Design page: link: https://excalidraw.com/#room=16a945752ef61c486cf6,ka1BTvS9Wn6db8lmewD16A