go-booking

command module
v0.0.0-...-2c40a9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL