Skip to content

T-DiegoF/lucky

Repository files navigation

Challenge backend.

Stack

  • Nestjs
  • TypeORM, MySQL, Redis
  • JWT

Features

Table Country and City

The only tables that insert data with a docker entrypoint are Country and City, the other tables are created empty but with their respective relationships and indexes. In the cityId field of the first registration endpoint, one of the following ids is valid, in case of putting one id that is not in the City table, the microservice will respond with an exception

City

id name
1 "La Plata"
2 "Seattle"
3 "Tokyo"
4 "Perth"
5 "New York"
6 "Bruselas"
7 "Bruselas"
8 "Sidney"
9 "Montevideo"
10 "Rio de Janeiro"
11 "Sao Pablo"
12 "Rosario"

ERD

ERD

Docker

To run the project

docker-compose up -d    

About

backend-archetype-Node-Nest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published