Skip to content

ram1117/rubyresorts

Repository files navigation

Ruby Resorts

Description

Ruby Resorts is the backend NestJs application for a resort with booking functionality. I have used hybrid NestJS application that utilizes Microservice architecture. The project is organized as a monorepo. I used RabbitMQ as messaging broker between microservices and Mongoose and MongoDB for database. The applications are deployed in Azure. The front-end is deployed in Vercel.

Live Demo

TBA A live version of the application is hosted On Vercel.

The service is deployed in free tier and may not be available instantly. Please wait a few minutes for the application to start

Getting Started

Please clone the repositiry from Github using the following link

https://github.com/ram1117/rubyresorts.git

Dependencies

  • Need NPM to install the packages needed for the project
  • Need Git and Github account to setup and contribute to the project
  • Need Docker engine to run MongoDB and RabbitMQ in a docker container.

Installing

Please run the following command to install the npm dependency packages.

$ npm install

Before running the app, you will need to run docker container to use database as a docker image. Run the following command to start the docker postgres image(Docker Desktop or Docker Engine need to be installed for this). If you have postgres installed in your system, you do not need to run the docker.

$ docker compose up -d

Running the app

To start the NestJs app, run one of the following commands.

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Help

Please raise a Github issue for errors or bugs.

https://github.com/ram1117/rubyresorts/issues

Authors

Ram Kumar Karuppusamy

@ram1117
ram kumar karuppusamy

Version History

  • 0.1
    • Initial Release

License

This project is MIT licensed. See the LICENSE.md file for details

About

nestjs backend with reservations system for a resort

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published