Skip to content

ExeCiety/go-fiber-todo-list

Repository files navigation

Go Fiber Todo List App

How to Install

  1. Clone this repository
  2. cp .env.example .env
  3. Run go mod tidy to install dependencies
  4. Run go run main.go to start the server

How to Install Via Docker

  1. Clone this repository
  2. cp .env.example .env
  3. Run docker-compose up -d to start the server

Hot Reload

  1. Install [Go Fiber CLI](go install github.com/gofiber/cli/fiber@latest)
  2. Run fiber dev to start the server with hot reload

Migration

Create migration

go run main.go migrate --create=<migration_name>

Migrate

go run main.go migrate

Rollback

go run main.go migrate rollback

Note: rollback argument will only rollback the last migration, if you want to rollback multiple migration, you can use --step flag Example: go run main.go migrate rollback --step=2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published