Bunny test - Backend
This is the repository for the backend project of the Bunny Studios technical test. This project was made in Golang and deployed in EC2 with a Docker container.
Available Scripts
In the project directory, you can run:
export $(cat .env | grep -v ^# | xargs)
exports the environments to the console, in order to execute successfully in local.
go run main.go
runs the project in local environment, http://localhost:8080/api/v1 by default.
docker build -t bunny-back .
Create a docker container with a production build of the application.
docker run --env-file .env -p 8080:8080 -d bunny-back
Create a new docker image, based on the container, with the environmental variables located in the .env file, and deploy it in port 8080.
Bunny test software architecture
This project have an architecture based in micro-services, that's the reason the frontend and the backend have been deployed separately. In the next image, you will be able to see how's the structure of the architecture.
Links of interest
Playground
Desktop demo
Front-end repository
Golang
Docker
AWS