Ecom-Golang-Fiber-Nextjs
Setup
Follow bellow steps to run the app in Dev & Prod
Development Mode
Step 1 =>
go run main.go
Database migrations is done in this step.Step 2 =>
go run database/seeder/seeder.go
Seed the database.Step 3 =>
go run main.go
Run the app in Dev mode.
Production Mode
Step 1 =>
go run main.go
Migrations is done in this step.Step 2 =>
go build
To Build the app.Step 3 =>
./'NameOfTheApp'
Run the app in Prod mode.