Skip to content

sanchesm92/Upvote-crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upvote Cryptocurrency

API Restful in Golang where you can vote your favorite cryptocurrency

  • Golang;
  • Gin;
  • Gorm;
  • Postgres
  • Docker;

How to Use

  • clone this repository
  • install go, docker and docker-compose
  • run docker-compose up -d && go run main.go

Endpoints

[
	{
		"id": 1,
		"name": "bitcoin",
		"vote": 1,
		"created": "2022-08-29T11:47:39.31198-03:00",
		"updated": "2022-08-29T11:47:39.31198-03:00",
		"deleted": null
	}
]
  • POST:
{
	"name": "bitcoin"
}
  • RANKING:
[
	{
		"Name": "bitcoin",
		"Vote": 2
	},
	{
		"Name": "ethereum",
		"Vote": 1
	}
]

Any bugs or suggestions?

Contatct me:

Enjoy.

About

API Restful in Golang where you can vote your favorite cryptocurrency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors