Skip to content

HelloSanskruti/Task-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task API (Go + PostgreSQL)

A RESTful Task Management API built using Go, chi router, and PostgreSQL.

Features

  • Create Task
  • Get All Tasks
  • Get Task by ID
  • Update Task
  • Delete Task
  • PostgreSQL persistence
  • Environment-based configuration

Tech Stack

  • Go
  • chi router
  • PostgreSQL
  • database/sql
  • lib/pq driver

Environment Variables

Set the following before running:

DB_USER=postgres
DB_PASSWORD=your_password
DB_NAME=taskdb

Run the Project

go run .

Server runs on:

http://localhost:8090

About

PostgresSQL backed Task api made in GO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published