AirBnBeep is a web application designed to mimic AirBnb. It is a home for mobile vacation spots, such as RVs, Airstreams, sprinter-van conversions, and more! Users can checkout spots as well as host their own. After clicking on a spot that a user is interested in, they can look at reviews, leave their own, and also book a spot for their travels. There is also a search feature in the navigation bar to allow users to find spots based on their names. Check out the live site here: https://airbnbeep.herokuapp.com/
Below are the links to the project wiki pages:
- https://github.com/benwaldee/AirBnBeep/wiki/API-Routes
- https://github.com/benwaldee/AirBnBeep/wiki/Database-Schema
- https://github.com/benwaldee/AirBnBeep/wiki/Features
- https://github.com/benwaldee/AirBnBeep/wiki/Redux-State-Shape
This project is built with:
- JavaScript
- PostgreSQL
- Sequelize
- Express
- React
- Redux
- Login Modal
- Signup Modal
- Home page
- Hosting page
- Spot detail page (with reviews)
- Click the green "Code" button on the main page.
- If you do not have SSH set up, copy the initial link (click the two squares on the right of it).
- If you do have SSH set up, switch to the SSH tab and copy that link.
- Once copied, open your terminal.
- Navigate to the folder where you would like the local repo to exist.
- Enter the command: git clone --paste your link here--
- Cd into the backend folder and run "npx dotenv sequelize db:migrate" to add migrations.
- Then run "npx dotenv sequelize db:seed:all" to add seed data.
- Create a .env file in your backend folder and create and add your own values to these variables: PORT, DB_FILE (location of the database), JWT_SECRET, and JWT_EXPIRES_IN
- Run the command "npm i" to install dependencies.
- cd into the backend folder in a new terminal and run "npm start" to start the backend server.
- cd into the frontend folder in a new terminal and run "npm start" to start the frontend server.
- Congratulations! The website should open on local host in your browser.
NOTES:
- Chrome works best.
- Make sure you do not have anything running on the the same local ports.