- 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
HTTP_LISTEN_ADDRESS:=
JWT_SECRET=
MONGO_DB_NAME=
MONGO_DB_URL=
MONGO_DB_URL_TEST=
- Clone the repository:
git clone https://github.com/lucaliebenberg/hotel-reservation-backend.git
- Build the project:
go build -o hotel-reservation-backend/bin
- Run the project:
go run main.go
If you would like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes.
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Create a new Pull Request.