Skip to content

syukri21/Paperid-Golang-Testcase

Repository files navigation

PaperID Golang Backend

Feature

  • Clean code (DDD)
  • Gin Framework
  • Docker and docker-compose
  • ORM with gorm
  • JWT with jwt-go

API

  • Signin
  • Signup
  • Signup Admin
  • Signout
  • Update Profile
  • Get Profile
  • Create Finance Account
  • Update Finance Account
  • Delete Finance Account
  • Get Finance Account
  • Create Finance Account Type
  • Update Finance Account Type
  • Delete Finance Account Type
  • Get Finance Account Type
  • Create Finance Transaction
  • Update Finance Transaction
  • Delete Finance Transaction
  • Get Finance Transaction

How to run

There are two ways to run this application, with docker or without docker

# running with docker

# copy .env
cp .env.example .env

# you can use live-reload when safe file
# running in with build, 
make run-local

# running in without build
make run-local-up

# remove production container
make down-local
# running in local/without docker
# copy .env
cp .env.example .env
make install
make run

Run migration

make migrate

Stay in touch

License

PaperIdGolangBackend is MIT.

About

🍽️ Golang : API Boilerplate V1 (Unstable)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages