Slurp is the perfect way to find the best Ramen in your area and is inspired by Yelp.
Website: https://jrusso-slurp.herokuapp.com/
- JavaScript
- Express
- CSS
- BCrypt
- Heroku
- Sequelize
- PostgreSQL
- React
- Redux
In the root directory, run npm install
to install dependencies for both the front and backend
Ensure PostgreSQL is installed and running
- Create a database user with
CREATEDB
privledges. - Copy
backend/.env.example
tobackend/.env
and configure the database information with the user created in step 1. - Set up the database:
- Run
npm run sequelize db:create
- Run
npm run sequelize db:migrate
- Run
npm run sequelize db:seed:all
- Run
- Start the development servers:
- Run
npm run dev:backend
- Run
npm run dev:frontend
- Run
- Configure
JWT_EXPIRES_IN
andJWT_SECRET
environment variables - Deploy to heroku
- Migrate & seed database
- Run
npm run sequelize db:migrate
- Run
npm run sequelize db:seed:all
- Run