https://solo-react-project1.herokuapp.com/
Html, Css, React, Redux, Node.js, Express, Sequelize, PostgreSQL
- Clone this repository
https://github.com/awadams198/Carbonated.git
git clone
- CD into the backend directory and install dependencies
npm install
- CD into the frontend directory and install dependencies
npm install
-
Create a .env file based on the .env.example given
-
Create a user in psql based on your .env DB_USERNAME
psql -c "CREATE USER <username> PASSWORD '<password>' CREATEDB"
- Create the database, migrate, and seed
npx dotenv sequelize db:create
npx dotenv sequelize db:migrate
npx dotenv sequelize db:seed:all
- Open up two terminals and cd into the backend and frontend directories, respectively. Start the server in each by running:
npm start