bunny-backend

command module
v0.0.0-...-38b8751 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 1 Imported by: 0

README

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.

Screen Shot 2020-11-03 at 0 10 20

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. Architecture

Playground

Desktop demo

Front-end repository

Golang

Docker

AWS

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
repository
service
test
util

Jump to

Keyboard shortcuts

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