# install dependencies
$ npm install
# run backend
$ npm run start
POST /login
{
"email": "[email protected]",
"password": "qwerty"
}
You can access data without registration using login endpoint with default credentials above
POST /register
{
"email": "[email protected]",
"password": "any_pass"
}
Requires authentication token*
GET /tasks
Example response:
[
{
id: 1,
text: 'Learn how to make a perfect scrambled egg'
}
]