1
0
Fork 0
forked from goffee/todoapp
Sample todo app using Goffe framework
Find a file
2024-09-15 13:50:36 -05:00
config first commit 2024-09-15 13:36:50 -05:00
events first commit 2024-09-15 13:36:50 -05:00
handlers first commit 2024-09-15 13:36:50 -05:00
middlewares first commit 2024-09-15 13:36:50 -05:00
models first commit 2024-09-15 13:36:50 -05:00
storage migration 2024-09-15 13:50:36 -05:00
utils first commit 2024-09-15 13:36:50 -05:00
.env migration 2024-09-15 13:50:36 -05:00
.env-example first commit 2024-09-15 13:36:50 -05:00
.gitignore add gitignore 2024-09-15 13:36:17 -05:00
go.mod first commit 2024-09-15 13:36:50 -05:00
go.sum first commit 2024-09-15 13:36:50 -05:00
LICENSE first commit 2024-09-15 13:36:50 -05:00
main.go first commit 2024-09-15 13:36:50 -05:00
README.md first commit 2024-09-15 13:36:50 -05:00
register-events.go first commit 2024-09-15 13:36:50 -05:00
register-global-middlewares.go first commit 2024-09-15 13:36:50 -05:00
routes.go first commit 2024-09-15 13:36:50 -05:00
run-auto-migrations.go first commit 2024-09-15 13:36:50 -05:00

Example Todo App using Goffee framework

This repository contains the code for an example todo app using Goffee framework

How to run locally?

1- Clone the repository
2- Next add your database credentials (mysql) to the .env file 3- cd into the project dir and run go mod tidy to install any missing dependency 4- Run the app using Goffee's cli tool Goffee

 goffee run:dev

if Goffee is not installed you can install it by executing the following command

go install git.smarteching.com/goffee/goffee@latest

All routers are defined in the file routes.go

All request controllers are defined in the directory controllers/