lms-backend

command module
v0.0.0-...-bd79b31 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 1 Imported by: 0

README

Backend LMS

GoDoc Go Report Card License

Packages Docs

Domain

should contains all the data models and it's business logic and validation

Repository

repository is in charge of storage no other logic should be in here other than update, create, and delete into storage. each subfolder is the implementation based on database used, mock package is used only for early development for testing purpose

Services

services used as a wrapper between domain and repository, containing logic that will be used in application

Handler

as the name suggest, the http handler, responsible processing the http request and response

API Docs

https://documenter.getpostman.com/view/5019276/SW18wv5z

Migration step

  1. Create a new migration file on migration/
  2. the migration need to be following the example on create_user
  3. copy .env.example as .env
  4. run make migrate

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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