A booking-hotel website to making reservations.
Temporarily deploy on: Ngrok (I'm poor)
Admin Account: admin@admin.com
Password: admin
Firstly, because the program uses Postgresql to store user data, we need to create and run the database
-
Next, we need to create a database named “bookings" with the following comand:
CREATE DATABASE bookings;
-
Install soda-cli to run migration:
go install github.com/gobuffalo/pop/v6/soda@latest -
Run
soda migratewith terminal in project-folder -
All the needed tables & constrains now created
-
Edit
.env -
Simple run
run.baton windows orrun.shon linux, make sure you executablerun.shon linux by usingchmod +x
App will run in localhost:3000

