Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 721 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 721 Bytes

Todo API in GO

This public repo demonstrate a todo app API development using Go lang.

Library / Packages Used

  • 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

Features include.

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