Skip to content

Patient API is a project using Golang, Chi, PostrgreSQL among Docker and Docker compose and exposing REST API endpoints.

Notifications You must be signed in to change notification settings

spolia/patients-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Patients-api a simple backend project

technology Go

Overview

Patient API is a project using Golang, Chi, PostrgreSQL among Docker and Docker compose and exposing REST API endpoints.

Architecture

The app is designed to use hexagonal architecture. This helps to achieve the goal of being able to easily change one part of the application without having to rewrite the entire thing.

The key rule in the hex model is that dependencies are only allowed to point inwards.

Architecture

Endpoints

  • GET /api/v1/patients : Get all patients
  • GET /api/v1/patients/:id: Get one patient
  • POST /api/v1/patients : Add one patient

About

Patient API is a project using Golang, Chi, PostrgreSQL among Docker and Docker compose and exposing REST API endpoints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published