This is a clone of airbnb.
bnbSoCal is where you find beautiful homes to rent for a nice get away.
| MVP Feature List | Database Schema | API Documentation | Frontend Routes |
- Clone this repo
- Install dependencies from the root directory
- npm install
- Create a POSTGRESQL user with CREATEDB and PASSWORD in PSQL
- CREATE USER WITH CREATEDB PASSWORD <'password'>
- Create a .env file in the backend directory base on the env.example found within the respective directory.
- Enter your username and password information into your .env file along with your desired database name, a secured combination of character for your JWT_SECRET, and your desired PORT (Preferably 5000).
- Add the following proxy to your package.json file within your frontend directory, replacing or keeping the 5000 port to match your PORT configuration found in your .env file.
- "proxy": "http://localhost:5000"
- Create Database, Migrate, and Seed models.
- npx dotenv sequelize db:create
- npx dotenv sequelize db:migrate
- npx dotenv sequelize db:seed:all
- Start the services in the backend directory.
- npm start
- Start the services in the frontend directory, which should open the project in your deafult browser. If not, navigate to htt://localhost:3000.
- You can use the Demo user or create an account to begin using bnbSoCal.
- Add/Remove/Edit/Delete Spots
- Add/View/Edit/Delete Reviews