Skip to content

Hostel By Pass is a microservice written in Rust and Axum framework, designed to provide various useful features for managing room reservations. The microservice uses MongoDB as its database.

License

Notifications You must be signed in to change notification settings

HenriHTTP/hostel-by-pass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hostel By Pass

Hostel By Pass is a microservice written in Rust and Axum framework, designed to provide various useful features for managing room reservations. The microservice uses MongoDB as its database.

Rust MongoDB

Install the Dependencies

Before running Hostel By Pass, ensure you have Rust installed on your system.

Rust

You can install Rust by following the instructions on rust-lang.org.

Docker Compose

If you already have a docker-compose.yml file in your project directory:

  1. Open a terminal.
  2. Navigate to your project directory where the docker-compose.yml file is located.
  3. Run the following command to start the MongoDB container:

How start

Docker compose

Open a terminal and write this command:

docker-compose up -d

Rust app

Open a terminal and write this command:

cargo build

before write this command:

cargo run

About

Hostel By Pass is a microservice written in Rust and Axum framework, designed to provide various useful features for managing room reservations. The microservice uses MongoDB as its database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published