This is the repository for my bookings and reservations project
- Built in Go version 1.13
- Uses the chi router
- Uses alex edwards SCS session management
- Uses nosurf
-
Download Soda using command:
go install github.com/gobuffalo/pop/v6/soda@latest
-
Copy database.yml.example then rename it to database.yml
-
Edit database.yml using your machine's database configuration (You need to create the database first)
-
Run migration using this command:
soda migrate
-
Run the program using this command:
./run.sh
for Linux and MacOS (and Windows but using git bash or WSL)or
./run.bat
for Windows -
The program will run at localhost:8080 and you can open it using Web Browser