Backend

Backend is written in Go. It offers APIs to access images metadata, retrieving them from the database. Its APIs are described using Swagger to guarantee transparency to the frontend.

If you have Go installed you can run it either building from source or using Docker:

Clone the repository

git clone https://github.com/aculei/aculei-be.git

Ensure to export the necessary environment variables: GIN_MODE and MONGO_URI.

Run it

go run main.go

Pull the image from the registry

docker pull ghcr.io/aculei/aculei-be:main

Run it

docker run --rm -e GIN_MODE=debug -e MONGO_URI=<MONGO_URI> -p 127.0.0.1:<my awesome port here>:8888 aculei-be