Skip to content

yuhaoyann/LightBnB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightBnB Project

LightBnB is a fullstack project which allows users to manage properties, make reservations, as well as adding reviews for their past bookings.

A combination of HTML, CSS, JS, jQuery, AJAX and SQL skills plus usage of Node, Express and PSQL platforms are used to complete the project.

Getting Started

  1. Go to LightBnB Page, fork and clone the repo to local.
  2. Cd into the repository and install all dependencies (using the npm install command).
  3. Go to PSQL, create an database named lightbnb and use follow as login info:
  • user: "vagrant",
  • password: "123",
  • host: "localhost",
  • database: "lightbnb"
  1. Run schema and seeds in PSQL by using following code:
    \i migrations/01_schema.sql
    \i seeds/01_seeds.sql
    \i seeds/02_seeds.sql
  2. Set up server by npm run local command in terminal.
  3. In web browser (Chrome preferred) open this page
  • known bugs: when deleting properties or avilabilities, if the page does not refresh after clicking delete button, need to manual refresh page

Final Product

main page "main page"
search property "search property"
create property "create property"
my reservation "my reservation"
my property "my property"
manage property availability "manage property availability"
property review page "property review page"

Dependencies

  • "bcrypt": "^3.0.6",
  • "cookie-session": "^1.3.3",
  • "express": "^4.17.1",
  • "nodemon": "^1.19.1",
  • "pg": "^8.7.1"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages