Skip to content

Go Todo API provides sample todo api using go-chi and mysql (via gorm)

License

Notifications You must be signed in to change notification settings

wahyudibo/go-todo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-todo-api

My sample app to demonstrates (also for documentation purpose) about best practices that i learned along the way when developing RESTful API using golang.

Prerequisites

  • Go v1.19
  • MySQL v8
  • Make
  • air. When encountered with GLIBC_2.34 not found error, make sure to install GLIBC_2.34 or latest.
  • AWS account for s3 or any AWS services. Initializes using aws configure --profile=YOUR_PROFILE_NAME command and make sure it has setup by running printenv | grep AWS_PROFILE and it returns your profile name

Starting the app

  • Make sure that you already setup the database connection configuration based on .envrc file.
  • Run the program using make run-watch

About

Go Todo API provides sample todo api using go-chi and mysql (via gorm)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages