Skip to content

RamiroCuenca/rest-crud

Repository files navigation

Rest API - Notes CRUD

This was my first ever CRUD done with Golang. It was a challenge cause i hadn't got experience with backend development in general. In spite of that, i am preety confortable with the result.

API Reference

Create a new note

  POST /api/v1/notes/create
Parameter Type Description
owner_name string Required
title string Required
details string Optional

Get all notes

  GET /api/v1/notes/readall

Get note by id

  GET /api/v1/notes/readbyid
Parameter Type Description
id int Required

Update note by id

  PUT /api/v1/notes/update
Parameter Type Description
id int Required

Delete note by id

  DELETE /api/v1/notes/delete
Parameter Type Description
id int Required

Tech Stack

Language: Go

Packages: Chi, Zap and lib/pq

Database: PostgreSQL

Others: Docker

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published