Giter VIP home page Giter VIP logo

carebnb's Introduction

CareBnB


CareBnB is a clone of AirBnB but instead of serving guests who are traveling, CareBnB serves those in need of shelter. The project was inspired by the 2021 events in Northern Texas, where many Texans were left without power and water.

Try the site live: Here | Check out our documentation

How to run the site locally

  • Clone the repo
  • In the route directory, use the command pipenv install all dependencies
  • In the react-app directory, use the command npm install to install all dependencies
  • Make a copy of the .env.example file and edit to match local db configuration
  • Create a file in /CareBnB/react-app/src/components/GoogleMapsComponent called apikey.js with one export const named "googleApiKey"
  • Create a file in /CareBnB/react-app/src/aws called keys.js with one export const named "SECRET_ACCESS_KEY"
  • Create the database and user in psql
    • In a pipenv shell, run all migrations with flask db upgrade
    • Seed all data with flask db seed all
  • In the route directory, use the command flask run to run the backend server
  • In the react-app directory, use the comman npm start to run the front end

Technologies used in CareBnB

JavaScript

Python

SQLAlchemy

Flask

React

Redux

React Google Maps

Amazon Web Services

React Bootstrap

Heroku

Features that we implemented

  • Users can log in or sign up to access some functionality of the site.
  • A logged in user has the ability to host a spot that displays how many guests they can accept.
  • A logged in user can book a spot, and selecte how many guests they are booking for.
  • The search bar can locate using a search term and specify how many available spots.
  • A logged in user can utilize google maps to identify a spot close to them.

Challenges throughout the development process

We faced a few challenges while we were building CareBnB:

  1. Implementing google maps to allow users to search spots by their coordinates

  2. Implementing AWS to allow users to upload an image as a file instead of a image url

Developers

Developer

Mustafa Mousa Lane Johns Quintin Hull Jung Park
@mustafaomousa @lanejohns @QuintinHull @Jummies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.