This is the repo for my bookings and reservations project.
- Built in Go version 1.18
- Uses chi router
- Uses alex edwards SCS
- Uses nosurf
In order to build and run this application, it is necessary to install Soda (go install github.com/gobuffalo/pop/... )
- In the database.yml file enter your DB credentials.
- Run "soda migrate" to generate tables in database. After this, manually add an user into the "users" table (use the hash of the password). You will need a user to authenticate on the Login page in order to view admin dashboard.
- From the root of the project, Run the program using CLI arguments like this: go run .\cmd\web\ -dbname 'DBNameHere' -dbuser 'DBUserHere' -dbpass 'UserPasswordHere'