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 migrate
with terminal in project-folder -
All the needed tables & constrains now created
-
Edit
.env
-
Simple run
run.bat
on windows orrun.sh
on linux, make sure you executablerun.sh
on linux by usingchmod +x
App will run in localhost:3000