Skip to content

a-romancev/crud_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD

company crud test task

Prerequisites

Docker - https://docs.docker.com/engine/install Go 1.17 - https://go.dev

Architecture

The project follows Package Oriented Design (aka Domain Oriented Design). An alternative layout with horizontal packages (mongo, service, handler, etc.) could also be used.

Testing and Development

To run all tests run make test. To run linters run make lint.

To run e2e tests run the project execute make start and then make test_e2e.

To build the project execute make build.

To run the project locally execute make start.

Migrations

Create new migration: ./mongo/migrate.sh create -ext json -seq -dir path/to/migrations/ migration_name.

Run migrations: make migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published