- shelter-api.cyclic.app (Primary)
- shelter-three.vercel.app/ (Live Preview)
- github.com/prince-appiah/shelter (Source Code)
Database
DevOps
- Property listing - by hosts and admin (on behalf of hosts)
- Property booking - by customers
- Approval and Decline of properties uploaded by hosts
API is currently hosted on shelter-api.cyclic.app
POST /signupPOST /otpPOST /loginPOST /logout
GET /dashboard-reportsPOST /usersPATCH /users/:user_idDELETE /users/:user_idGET /usersGET /bookingsGET /propertyGET /property/:idPATCH /property/:idDELETE /property/:idPOST /propertyPOST /approveGET /hostsGET /hosts/:idPATCH /hosts/:idDELETE /hosts/:idGET /room-typesPOST /room-typesGET /room-types/:idPATCH /room-types/:idDELETE /room-types/:idGET /amenitiesGET /amenities/:idPATCH /amenities/:idDELETE /amenities/:idPOST /amenities
GET /customer-bookingsGET /customer-bookings/:property_idPATCH /customer-bookings/:property_idGET /propertyGET /property/:idGET /room-typesGET /room-types/:idGET /amenitiesGET /amenities/:id
GET /propertyGET /property/:idGET /room-typesGET /room-types/:idGET /amenitiesGET /amenities/:id
This project uses Yarn as package manager
npm install --global yarnTo run this project, you will need to add the following environment variables to your .env file
CLOUDINARY_API_SECRET
CLOUDINARY_API_KEY
CLOUDINARY_CLOUD_NAME
MAILGUN_DOMAIN
MAILGUN_API_KEY
DB_CLUSTER
DB_NAME
DB_PASSWORD
DB_USER
AUTH_PASSWORD
AUTH_EMAIL
JWT_EXPIRY_TIME
JWT_SECRET
DSN
PORT
HOST
NODE_ENV
Clone the project
git clone https://github.com/prince-appiah/room-finder-api.gitGo to the project directory
cd room-finder-apiInstall dependencies
yarnStart the server
yarn dev- Verify hosts through ID Verification
- Rate properties - by customers
Contributions are always welcome!
See contributing.md for ways to get started.
Please read the Code of Conduct
Distributed under the no License. See LICENSE.txt for more information.
This project needs a ⭐️ from you. Don't forget to leave a star ⭐️.