Skip to content

Kvas1988/wg_backend_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation for Wargaming Backend test assignment (WIP)

This repo has a sourcecode for my implementation of wg_forge_backend test assignment.

Work in Progress...

// TODO:

  1. Configure hibernate-validator to validate input user's data. There are annotations from java.validation but they don't work at this moment.
  2. Lowercase ASC/DESC order types in query params.
  3. 6th task

Run the app

The fastest way to run the entire solution is via docker-compose. There's a Makefile, so you can run

make rebuild-docker

It will stop current docker-compose containers if exist, build java app and run docker-compose up --build

This docker-compose.yaml has 3 services:

  • db: Postgresql container configured by WG_Forge to complete course
  • python_to_postgres: python script to complete two first tasks
  • wg_backend_spring_postgres: Spring app for the rest tasks

Some info for my solutions

Python

For the first two tasks I decided to write simple python script which will run several sql queries

Spring Boot app

For the backend server task I took Spring, so most of the repo contains setup an src files for it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published