Skip to content

suyashmohan/rest_api_golang_psql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This repository contains code to demonstrate a basic REST API written in Go language and PostgreSQL.

The APIs lets you create and save Notes.

Requirements

How To Run

The project uses Docker Compose

  • docker-compose up

APIs

Note

Needs Auth Bearer Token in Headers.

  • POST("/note") - Create Note
  • GET("/note/:id") - Get a Note
  • PUT("/note/:id") - Update a Note
  • DELETE("/note/:id") - Delete a Note

User

  • POST("/user") - Create a User
  • POST("/user/verify") - Verify and Generate a Auth Token

About

A base skeleton REST API project build with Go Lang and PostgreSQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published