HearthHopper

HearthHopper is a clone of Airbnb. Live Site

Image from Gyazo

Index

Technologies Used

javascriptherokureactreduxsequelizeexpresspostgresqlcss3html5gitvisual-studio-code

Getting Started

  1. Clone this repo.

  2. Install dependencies from the root directory.

    • npm install
  3. Create a PostgresQL user with CREATEDB and PASSWORD in PSQL.

    • CREATE USER WITH CREATEDB PASSWORD <'password'>
  4. Create a .env file in the backend backend directory based on the .env.example found within the respective directory.

  5. Enter your username and password information into your .env file along with your desired database name, a secured combination of characters for your JWT_SECRET, and your desired PORT.

  6. Add the following proxy to your package.json file within your frontend directory, replacing or keeping the same port from your .env file.

  7. Create Database, Migrate, and Seed Models.

    • npx dotenv sequelize db:create
    • npx dotenv sequelize db:migrate
    • npx dotenv sequelize db:seed:all
  8. Start the services in the backend directory.

    • npm start
  9. Start the services in the frontend directory.

    • npm start
  10. Log in as a Demo user, or create an account.

Features

Database Schema