Skip to content

EpicStep/vk-hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VK Hackathon (Back End)

Run (Locally)

Create .env file and add following values:

PORT=8181
DATABASE_URL=root:mypass@tcp(mysql:3306)/test

After you can run app in docker:

docker compose up -d

Note that the container may restart several times, as it is waiting for MySQL

You need to insert migrations/000001_initial.up.sql

Also, you can run tests:

go run cmd/test/main.go -addr=http://host:port (optional)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors