Skip to content

kindlewit/go-festility

Repository files navigation

Festility

Run locally

GOPATH=$PWD/bin - ensures all downloaded packages are present within this project folder.

GOROOT=go/installed/dir

go build

will create a new file that's named after the module go-festility.

go run .
# OR
go run <package-name>

which should start the server

Run on Docker

Run the following in the root dir of the project

 # BUILD THE IMAGE
docker build -t festility .

# RUN THE CONTAINER
docker run --rm -it -p 8080:8080 festility

# RUN WITH DOCKER COMPOSE
docker-compose up --build

You're welcome, future me.

MongoDB docker

docker run -d -p 27017:27017 mongo

Connect & interact with the database through the terminal by the command

docker exec -it <container_name> mongosh

Why not follow a microservice architecture?

About

A web application to store and maintain cinema festival screening information.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published