This is a backend that nurses can use to record patient medical records
-
Go: Go (or Golang) is the programming language that can develop an API with high performance and scalable.
-
Fiber: Fiber is a high-performance and minimalist web framework for the Go programming language.
-
PostgreSQL: PostgreSQL is a powerful, open-source relational database management system. It is used for storing and managing data related to products, customers, orders, and more in the online store application.
-
JWT (JSON Web Tokens): JWT is a standard for securely transmitting information between parties as a JSON object. In the online store application, JWT is used for implementing authentication and authorization mechanisms.
-
Pgx: Pgx is a pure Go driver and toolkit for PostgreSQL. The pgx driver is a low-level, high performance interface that exposes PostgreSQL-specific features such as LISTEN / NOTIFY and COPY. It also includes an adapter for the standard database/sql interface.
-
Sqlx: Sqlx is a library for Go that provides extensions to the standard database/sql package. It aims to simplify working with SQL databases in Go by offering additional features and utilities. Sqlx includes functions for working with query results, struct scanning, named parameters, and more. It enhances the productivity of Go developers when interacting with SQL databases like PostgreSQL by reducing boilerplate code and providing a more intuitive API.
-
Clone the repository:
git clone https://github.com/agusheryanto182/go-health-record.git
-
Go to folder go-raide-hailings
cd go-health-record
-
Set up an env and paste in terminal
-
Create a new database
-
Copy this and paste it in terminal for migrate database
make migrate-dev
-
go run .
-
Postman
https://documenter.getpostman.com](https://documenter.getpostman.com/view/32137512/2sA3Qqfsg7
-
Database
https://dbdiagram.io/d/health-record-6641bfc79e85a46d55ac25a0