This repository contains a simple CRUD (Create, Read, Update, Delete) API for managing users implemented in Golang. It utilizes the Gin framework for handling HTTP requests.
Before running the project, ensure that you have the following installed on your system:
-
Clone the repository to your local machine:
git clone https://github.com/ArtemBurakov/users-golang.git cd users-golang -
Create a .env file in the project root and set the required environment variables
PORT=8045 GIN_MODE=release
-
Build and run the project using the provided Makefile commands
make docker-all
-
Access the API at http://localhost:8045/api/users (assuming you set PORT=8045 in your .env file).