Building a Yelp clone using the PERN stack, with the guidance of Sanjeev Thiyagarajan.
- Create the
.env
file in the server folder. - Update the .env file with your correct local information PORT="choose a port number"
PGUSER="Your PG username" PGHOST=localhost PGPASSWORD="Your password" PGDATABASE="the name of your db" PGPORT="Insert your PG port number"
-
Install dependencies in the server folder and in the client folder:
npm i
oryarn install
-
Run the server:
nodemon server.js
- Note: nodemon is used, so you should not have to restart your server
- Run the client:
yarn start
and visit http://localhost:3000/ if it's not automatically done for you.
- Authentication
- Modern Styling
- Google Map integration