FYI: check researches in docs folder, it's interesting!
Create social network which allows to create and view user cards
Ensure port 8000 is available and you have docker installed. After start Api will be available at http://localhost:8000
make local && go run cmd/api/main.gomake local-fullы- basic/bearer authorization
- create user data: name, surname, birthdate, gender, interests, city.
- monolithic architecture
Specification : https://github.com/OtusTeam/highload/blob/master/homework/openapi.json
- /login (Returns bearer token)
- /user/register
- /user/get/{id} (Protected: use bearer token)
migrate create -ext sql -dir migrations -seq create_roles_stableGo to root folder and run:
go run cmd/cli/main.go import -l <link to file>
File structure: Name | birdate | Profile
k6 run --vus 1000 --duration 30s -e TOKEN=<token> load_testing/user_search.js