This public repo demonstrate a todo app API development using Go lang.
- Chi (router) - github.com/go-chi/chi/v5
- Jwt (From Chi) - github.com/go-chi/jwtauth
- Gorm ( ORM ) - gorm.io/gorm
- Render ( response helper ) - github.com/go-chi/render
- Bcrypt ( Password Encoder / Decoder ) - golang.org/x/crypto
- Postgres DB Driver - gorm.io/driver/postgres
Todo:
- Create Todo
- List All Todos
- Edit Todo
- Delete Todo
- Toggle Todo Is Completed / Not Completed
- Attach User ID to Todos.
- Prevent Unauthorized users from creating Todo
Users:
- Create New User
- Login User
- JWT Token Generation