Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 1.05 KB

README.md

File metadata and controls

43 lines (37 loc) · 1.05 KB

Hotel Reservation Backend

Project outline

  • Users -> book form from a hotel
  • Admins -> going to check reservation/bookings
  • Authentication & Authorization -> JWT tokens
  • Hotels -> CRUD API -> JSON
  • Rooms -> CRUD API -> JSON
  • Scripts -> database management -> seeding, migration

Project Environment Variables

HTTP_LISTEN_ADDRESS:=
JWT_SECRET=
MONGO_DB_NAME=
MONGO_DB_URL=
MONGO_DB_URL_TEST=

Installation

  1. Clone the repository:
git clone https://github.com/lucaliebenberg/hotel-reservation-backend.git
  1. Build the project:
go build -o hotel-reservation-backend/bin
  1. Run the project:
go run main.go 

Contributing

If you would like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. Create a new Pull Request.