Teams is a platform to manage events and theirs teams!
To run this app you'll need
- nodejs
- docker and docker-compose
- yarn
To run the application we need to setup some environment variables.
In docker-compose.local.yaml
edit the values to create your postgre database, then add the values in environment
parameter of team-ms
service
In root folder, create a .env file
$ cp ./.env.sample ./.env
then, change the values
$ docker-compose -f docker-compose.local.yaml up -d
After run the teams-db
container, we need to create our tables and populate them.
$ yarn add sequelize-cli
$ yarn sequelize db:migrate
$ yarn sequelize db:seed:all
curl --location --request POST '{{localhost}}/auth' \
--data-raw '{
"usernameOrEmail": "johndoe",
"password": "johndoe"
}'