- 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 /signup
POST /otp
POST /login
POST /logout
GET /dashboard-reports
POST /users
PATCH /users/:user_id
DELETE /users/:user_id
GET /users
GET /bookings
GET /property
GET /property/:id
PATCH /property/:id
DELETE /property/:id
POST /property
POST /approve
GET /hosts
GET /hosts/:id
PATCH /hosts/:id
DELETE /hosts/:id
GET /room-types
POST /room-types
GET /room-types/:id
PATCH /room-types/:id
DELETE /room-types/:id
GET /amenities
GET /amenities/:id
PATCH /amenities/:id
DELETE /amenities/:id
POST /amenities
GET /customer-bookings
GET /customer-bookings/:property_id
PATCH /customer-bookings/:property_id
GET /property
GET /property/:id
GET /room-types
GET /room-types/:id
GET /amenities
GET /amenities/:id
GET /property
GET /property/:id
GET /room-types
GET /room-types/:id
GET /amenities
GET /amenities/:id
This project uses Yarn as package manager
npm install --global yarn
To 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.git
Go to the project directory
cd room-finder-api
Install dependencies
yarn
Start 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 ⭐️.