Skip to content

github-real-lb/bookings-web-app

Repository files navigation

Bookings and Reservations Web App

A demo of an hotel bookings and reservations web app.

Setting Up the Source Code:

  • Setup PostgreSQL Server
  • Update db.config.json
  • Update Makefile and/or make.bat files with correct db connection values
  • Using Makefile or make.bat run the following commands: "createdb" and "migrateup"

Running the Source Code:

  • Choose between 4 possible modes:
    • "ProductionMode": building the code for production
    • "DevelopmentMode": running the code on localhost with ssl disabled,
    • "TestingMode": running all the unit tests with CSRF protection off
    • "DebuggingMode": running the code with the IDE debugger
  • Change the chosen mode in the ./cmd/web/main.go file

Built Information:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages