Skip to content

A simple API in Go that performs CRUD operations on a PostgreSQL database

License

Notifications You must be signed in to change notification settings

SameerJadav/go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go CRUD API with PostgreSQL

A simple API in Go that performs CRUD (Create, Read, Update, Delete) operations on a PostgreSQL database. I created this project to learn how to build a robust and secure API in Go.

Users Table Structure

Column Type Nullable Default Description
id integer not null Unique identifier for the user
name text not null Name of the user
email text not null Email address of the user (unique constraint)
created_at timestamp without time zone not null now() Timestamp indicating when the user was created
updated_at timestamp without time zone not null now() Timestamp indicating when the user was last updated

About

A simple API in Go that performs CRUD operations on a PostgreSQL database

Topics

Resources

License

Stars

Watchers

Forks