Skip to content

Leninner/golang-todo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo API with Golang

This is a simple Todo API written in Golang. It uses a simple postgres database to store the todos.

Requirements

  • Golang 1.22 >=
  • Docker
  • Air
  • Docker
  • Linux or MacOS

Running the API

Install the required dependencies using the following command:

make install_deps

To run the API, you need to have a postgres database running. You can use the following command to run a postgres database using docker:

make up_db

This will start a postgres database on port 5432. You can then run the API using the following command:

air

This will start the API on port 8080.

About

Todo API to learn Golang sintax and tricks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published