Skip to content

Simple Rest API using golang and implementing clean architecture

Notifications You must be signed in to change notification settings

FauzanAr/clean-and-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean and Go

Description

This is mini project that implement Clean Architecture concept and implement Dependecy Injection. This mini project also using minimalize library, like only use standart http library from Go, and using only Database Driver without using any ORM.

Run and Go

  1. Go to Makefile and change the database credential, also change database credetial on server.go
  2. Run the migration using the following command
$ make migrateup
  1. Run the application using the following command
$ go run server.go

Finish and Go

Don't forget to install or prepare Mysql database on board!

About

Simple Rest API using golang and implementing clean architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published