Execute the following command:
yarn
Create a .env
file on project's root getting as base the file .env.example
.
Execute the following command:
yarn start
curl --request POST \
--url http://localhost:3333/auth/register \
--header 'Content-Type: application/json' \
--data '{
"login": "[email protected]",
"password": "12345678"
}'
curl --request POST \
--url http://localhost:3333/transmissions \
--header 'Content-Type: application/json' \
--data '{
"channelId": "${{ channelId }}",
"sponsor": "OnlyTransmission",
"state": "RJ",
"city": "Rio de Janeio",
"status": "OFF",
"channelName": "${{ channelName }}"
}'