TopFun is a list based application where you can curate a list of your top foods, games, movies, resources, etc. and share it with others! Made with React, Express, vanilla CSS (no 3rd party components), Sequelize, PostgreSQL.
- Clone this repository
git clone this repo
- Install npm dependencies for both the
/frontend
and/backend
cd frontend
npm install
cd backend
npm install
- In the
/backend
directory, create a.env
based on the.env.example
with proper settings - Setup your PostgreSQL user, password and database and ensure it matches your
.env
file - Run migrations and seeds in the
/backend
npx dotenv sequelize db:create
npx dotenv sequelize db:migrate
npx dotenv sequelize db:seed:all
- Start both the backend and frontend
npm start
- Open localhost:3000 for front end
- Test backend API w/ localhost:5000 on postman