Skip to content

Hotel Reservations API Backend with Mongo. Built with gofiber.io.

License

Notifications You must be signed in to change notification settings

joshdstockdale/go-booking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend for hotel reservations

Project environment variables

HTTP_LISTEN_ADDRESS=:3000
JWT_SECRET=supersupersecret
MONGO_DB_NAME=hotel-reservation
MONGO_DB_URL=mongodb://mongodb
MONGO_DB_URL_TEST=mongodb://localhost:27017

Prerequisites

Mongodriver

Documentation

https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo

Installing mongodb client

go get go.mongodb.org/mongo-driver/mongo

gofiber

Documentation

https://gofiber.io

Installing gofiber

go get github.com/gofiber/fiber/v2

Docker

Installing mongodb

docker run -d -p 27017:27017 --name mongodb mongo:latest

About

Hotel Reservations API Backend with Mongo. Built with gofiber.io.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages