Skip to content

miftahulhidayati/go-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-todo

A RESTful API for todo application with Go

API Documentation

https://go-todo-miftahulhdyt.herokuapp.com/swagger/index.html

Installation & Run

# Download this project
go get github.com/miftahulhidayati/go-todo

Before running API server, you should set the postgre database config, and JWT Secrets with yours on .env

DB_NAME = 
DB_PASS = 
DB_HOST = 
DB_PORT = 
DB_USER = 
JWT_SECRET = 
# Run
cd go-todo
go run main.go
./go-todo

Dependencies

  • JWT GO "github.com/dgrijalva/jwt-go"
  • GIN "github.com/gin-gonic/gin"
  • swaggerFiles "github.com/swaggo/files"
  • ginSwagger "github.com/swaggo/gin-swagger"
  • GIN CORS "github.com/gin-contrib/cors"
  • GIN SESSIONS "github.com/gin-contrib/sessions" "github.com/gin-contrib/sessions/cookie"
  • GORM "gorm.io/gorm"

Miftahul Hidayati - miftahulhdyt@outlook.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages