Welcome to the skybnb github repo!
This project clones the popular website, Airbnb with a star wars theme to it. Our web application will provide users the ability to create accounts, log in as a demo, book spots, search for spots, and leaving a rating and review on spots.
Explore the docs »
View Site
·
Report Bug
·
Request Feature
Click here to view Skybnb live on the web!
The app was built using Flask and SQLAlchemy on the back end with a PostgreSQL database. The backend structure is RESTful with AJAX requests that are fullfilled with JSON Objects. Model associations are used to minimize database queries to the backend, assuring speed and reliability.
The front end is built with React and Javascript while utilizing Redux architecture, producing a lightning-fast user interface and calling upon dynamically rendered components.
To get a local copy up and running follow these simple steps.
Here is everything we need you to do to get started with Skybnb.
- npm
npm install npm@latest -g
-
Clone the repo
git clone https://github.com/V3RS/skybnb
-
Install NPM packages
npm install
-
Add a '.env' with your environment variables to the root of your local directory
-
Create a postgreSQL user
CREATE USERS <<your username>> WITH PASSWORD <<your password>> CREATEDB;
-
Create your database
CREATE DATABASE <<db name>> WITH OWNER <<your username>>;
-
Upgrade and seed your database
flask db upgrade flask seed all
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Project Link: https://github.com/V3RS/skybnb/