This is the repository for my bookings and reservations project.
- Built in Go version 1.21.x
Dependencies:
- chi router
- alex edwards SCS session management
- nosurf
- pgx
- simple mail
- Go validator
In order to build and run this application, it is necessary to install Soda (go install github.com/gobuffalo/pop/... ), create a postgres database, fill in the correct values in database.yml, and then run soda migrate.
To build and run the application, from the root level of the project, execute this command:
go build -o bookings ./cmd/web/ && ./bookings \
-dbname=bookings \
-dbuser=tcs
where you have the correct entires for your database name (dbName) and database user (dbUser) For the full list of command flags, run ./booking -h