# README
Golang REST API Personalities
This is a RESTful API built with Go. It provides CRUD operations for managing "personalidades".
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
- Go 1.21.3 or later
- Docker
Installing
- Clone the repository:
git clone https://github.com/helioLJ/golang-rest-api-personalities.git
- Navigate to the project directory:
cd golang-rest-api-personalities
- Install the dependencies:
go mod download
- Run the application:
go run main.go
The server will start on localhost:8080
.
API Endpoints
GET /api/personalidades
: Fetch all personalidadesGET /api/personalidades/{id}
: Fetch a single personalidade by IDPOST /api/personalidades
: Create a new personalidadeDELETE /api/personalidades/{id}
: Delete a personalidade by IDPUT /api/personalidades/{id}
: Update a personalidade by ID
Built With
- Go - The programming language used
- Gorilla Mux - The HTTP router and URL matcher for building Go web servers
- PostgreSQL - The database used
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author