Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.13 KB

File metadata and controls

37 lines (24 loc) · 1.13 KB
elaboration.mp4

Description

A Simple REST API in go utilizing the repository pattern.

Tools

Performing the crud operations on the northwind database.

Routes

Route Method Description
/customers GET Fetches all the customers
/customers/Id GET Fetches a customer with Id
/customers/create POST Creates a customer
/customers/update/Id PATCH Updates a customer
/customers/delete/Id DELETE Deletes a customer

Installation

1- Clone the repo.

2- Navigate to the folder and run go get.

3- Replace your env variables in .env file.

4- Run air cmd.

5- Code your heart out.