Golang REST server from a three table MariaDB database

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

The mission is to develop a backend application in Golang that is a REST server for a battles and players game in a MariaDB database.

The mission includes developing the automatic tests, scripts to build, MariaDB access configuration, etc.

All the code and libraries must be open source or common Golang libraries.

You will be provided with an already configured (development) server in Ubuntu with MariaDB.

This backend application must be able to be replicated easily to another (production) server.

There will be an nginx proxy but tests can be coded to run in localhost:8080.

There are three MariaDB tables: PLAYERS, BATTLES and FIGHTERS (players asigned to battles)

This backend application must do the following procedure:

1.- Fetch all records from the DB to Golang maps (in memory).

2.- Respond all REST requests until QUIT

3.- Dump substitutions to MariaDB.

There are SIX REST requests to implement:

POST /login

GET /battles

GET /battle/:idBattle/fighters

PUT /replace/:idBattle/:idPlayer

PATCH /battle/:idBattle/endsin/:minutes

PATCH /battle/:idBattle/:idplayer/newStatus

The authentication schema for the login is JWT (unless we agree on a better alternative)

Golang MariaDB MySQL RESTful

Project ID: #17658316

About the project

11 proposals Remote project Active 5 years ago

Awarded to:

ichthyocentaurs

Hello! Interesting and not difficult task. Project have a good description, but one point I want to clarify: have you chosen authentication schema? if you have not chosen I can suggest JWT. I will be happy to More

€300 EUR in 10 days
(3 Reviews)
3.5

11 freelancers are bidding on average €573 for this job

peng72083

Hi, How are you? I am a senior backend developer. I have read your requirement carefully and I am confident to build the apis successfully with my skills and experiences. I am familiar with PHP, Python frameworks su More

€555 EUR in 10 days
(11 Reviews)
5.8
AzzkaNoor

Hello there. I have seen your job posting. I will like to ask some questions. Please come over the chat so we can discuss things. Some intro about me. I am an enthusiastic developer/implementer who does not stop until More

€588 EUR in 10 days
(5 Reviews)
5.7
linuxsupport

I have an experience of more than 16 years in the field of technology. I have worked on many project that requires expertise of Golang

€555 EUR in 10 days
(14 Reviews)
5.1
luiswilliam

Hi, how are you? I'm talented web developer. I have built lots of professional website successfully before.,.;; And all clients are satisfied with them. I'd like to discuss more detail of your project..,. Please p More

€555 EUR in 4 days
(1 Review)
4.0