Skip to content

thomassal/go-todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-todo-app

An example API written in go.

Prerequisites

  • GO
  • Postgresql

Packages

  • gorilla/mux
  • jinzhu/gorm
  • dgrijalva/jwt-go
  • joho/godotenv

API Endpoints

Users

  • /api/user/new (User registration endpoint)
  • /api/user/login (User login endpoint)

Todos

  • /api/todos (Todo list endpoint)
  • /api/todo/new (Todo create endpoint)
  • /api/todo/{todo-id} (Todo retrieve, update and destroy endpoint)

RUN

go run main.go

Releases

No releases published

Packages

No packages published

Languages