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
- 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
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
- 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