order-app-service

module
v0.0.0-...-c9664ae Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT

README

Order App Service

Current repo is a backend service for order app. This is a simple order app where there are 3 actors within the app. There are customer, seller and admin. The app purpose is to provide a simple order management system between seller and customer.

This project was a template from this repo.

Installation

I presume you already have cloned the repo and you are in the root directory. Don't forget to set up the database in your local machine.

  • Init the go modules

    make init 
    
  • Make tidy

    make tidy
    
  • Copy and modify the config.yml file and adjust the values to your needs.

  • Migrate the database

    make migration
    
  • Run the app

    make run
    

ERD

ERD

Usecase

Comming soon...

Directories

Path Synopsis
cmd
app
app
controller/http/v1
Package v1 implements routing paths.
Package v1 implements routing paths.
pkg

Jump to

Keyboard shortcuts

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