LightBnB is a project created by Carmen for Lighthouse Labs focused on the database. Back-end queries are used to allow users to search for accomodations in an online travel app. The prject conntects to a PostgreSQL database using Node's postgres library.
Sign up to create a new account. Log in to your account. View when logged in. Create a new listing.
- Install dependencies using the
npm install
command. - Start the web server using the
npm run local
command in the LightBnB_WebApp folder. The app will be served at http://localhost:3000/. - Go To http://localhost:3000/ in your browser.
01_queries
contains some sql queries for the database.LightBnB_WebApp
See below.migrations
sql file to create the tables for the databaseseeds
sql seed files that for the database.docs
screen shots of web app.
- bcrypt
- bodyparser
- cookie-session
- nodemon
- pg