FlairBnB is a simple clone of AirBnB. The site its current state, is used to browse/create listings, and create/browse reviews for listings.
Note: Flairbnb's website has been flagged as "suspicious" by Google, this is a false positive, the site is strictly a clone of Airbnb and does not attempt to phish users.
- JavaScript
- Sequelize
- Express
- React
- Redux
- Heroku PostgreSQL
- SQLite3 (For Local Testing)
- Clone the repo to a folder of your choice
git clone https://github.com/hazeluwuz/Flair-BnB.git
npm install
in the backend foldernpm install
in the frontend folder
- Create a .env file in the backend folder with the following data
PORT=<PORT_NUMBER>
DB_FILE=<DB_FILE_LOCATION>
JWT_SECRET=<SECRET_KEY>
JWT_EXPIRES_IN=<EXPIRATION_TIMER>
npx dotenv sequelize db:migrate
in the backend foldernpx dotenv sequelize db:seed:all
in the backend folder
npm start
in the backend folder FIRSTnpm start
in the frontend folder AFTER