Skip to content

shekharsikku/go-gin-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API - Using Go Gin

Create .env file and add environment variables

JWT_SECRET=""
PORT=""
DB_PATH=""

Run database migration

go run cmd/migrate/main.go <up|down> <db_path>

Run in debug mode

This command will use air.toml configuration and run main.go file

air

Run using go run command

go run cmd/api/main.go

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages