FortBnB is a room reservation platform developed using Golang, HTML, CSS, and JavaScript. It uses PostgreSQL for the database. With FortBnB, users can search for rooms, book accommodations, and manage their reservations.
- User registration and login
- Search for available rooms
- View room details and images
- Make room reservations
- Manage bookings
-
Install Golang
-
Install Node.js
-
Set up PostgreSQL
-
Clone the repository:
git clone https://github.com/yourusername/FortBnB.git cd FortBnB
-
Configure the PostgreSQL database in
database.yaml.example
and rename it todatabase.yaml
. -
Install dependencies:
go mod tidy cd ..
-
Start the server:
go build -o fortbnb cmd/web/*.go && ./fortbnb -dbname="YOUR_DB_NAME" -dbuser="YOUR_DB_USER" -cache=false -production=false
-
Access FortBnB at
http://localhost:8080
in your browser.
- Search for rooms and select one.
- View room details.
- Make a reservation.
- Manage your bookings in your profile.
- log in to the admin dashboard for CRUD operations.
We welcome contributions. Please check our contribution guidelines.