- Get the list of hotels around a specific location
- Create a booking for a given hotel on specific dates for a specific guest
- List the bookings in a given hotel
- Nest Js
- TypeScript
- Postgres + Postgis
- Compodoc
- Jest
trigger: when new commits merged to master
- Clone this repo
- Setup Postgres and along with Extensions
POSTGRES: 14
Extensions:
cube | 1.5 | data type for multidimensional cubes
earthdistance | 1.1 | calculate great-circle distances on the surface of the Earth
postgis | 3.2.2 | PostGIS geometry and geography spatial types and functions
-
Creaate Database
limehomebookings
, or make sure .env DB_URL should be properly updated -
Build and install depdendencies
npm install
- To Build & Run in LOCAL
npm run build
npm run start:dev
- To run tests once run the tests there will be coverage & coverage-e2e foldet will be published
npm run test
npm run test:e2e
CompoDoc Documentation: https://akshayjoyinfo.github.io/limehome-bookings/
API: https://limehome-bookings.herokuapp.com/docs
API Unit & E2E Coverage Reports