Skip to content

ross-brown/sharebnb-backend

Repository files navigation

ShareBnB Backend

A RESTful API for a outdoor space sharing platform built with Express.js. Built to interact with data about users, listings, and messages, as well as authentication/authorization.

Demo: https://rbrown-sharebnb.netlify.app

Link to frontend repo: https://github.com/ross-brown/sharebnb-frontend

Tech Stack

alt text

alt text

alt text

alt text

Features

  • AWS S3 image upload functionality to show photos for posted listings
  • JSON Schema for server-side validation of JSON requests
  • Custom Object-oriented ORM with classes to communicate with PostgreSQL database
  • JSON Web Tokens for authentication

Run Locally

Go to the project directory after cloning the repo

cd sharebnb-backend

Install dependencies

npm install

Create and seed the database

$ psql -f sharebnb.sql

Start the server

npm start

Future Features

  • Write tests ✅
  • Delete and Edit a Listing ✅
  • Available table in DB, book a listing for certain dates
    • Possibily add a calender date-picker
  • Admin accounts
  • More filters for searching listings
  • Add TypeScipt with Express

Authors

About

Back-end code for ShareBnB application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published