There are some services and APIS we can only use with free amount, please register these service on you own and replace the api key inside .env.example :
- https://guides.platerecognizer.com/docs/snapshot/api-reference
- https://supabase.com
- Postgresql and Redis (we recommend using on Render)
# clone repository
$ git clone https://github.com/phuochungus/HomeLand_Apartment_Management_BE.git
$ cd HomeLand_Apartment_Management_BE
# install dependencies
$ npm install
# pull necessary images
$ docker compose pull
# rename .env.example to .env
# you might change some variable if you need to connect to real redis, postgresql or supabase project
$ cp .env.example .env
# docker compose include redis and postgresql
# if your local machine have redis or postgresql, please turn off all in order to run properly
$ docker compose up -d
# start supabase local
$ npx supabase start
# start nestjs
$ npm run start:dev
# you might need to send HTTP GET to this endpoint to create empty database and S3 storage:
http://localhost:3000/seed/init
On terminal where Nestjs running press Ctrl + C
# stop docker containers
$ docker compose stop
# stop supabase
$ npx supabase stop
A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.