Skip to content

ThiaudioTT/personalities-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personalities API

Simple API to create, update, delete and list personalities.

Attention: This API is not secure and should not be used in production. It is just a simple project to learn GO.

Stack

Go, Gorilla Mux, Gorm, Postres, Migrate and Validate.

Running the project

To run the project, you need to have Go installed in your machine. You can download it here. Also, you will need to have docker and docker-compose installed in your machine. You can download it here.

After installing Go, docker and docker-compose, you can run the following command to start the database:

docker-compose up

and then run the following command to start the server:

go run main.go

The server will be running on port 8080.