Express API for to-do-mern-app
Download zip file, get the latest release or execute:
git clone https://github.com/renatocfrancisco/to-do-mern-api
npm i
to install dependencies
npm start
to start the server
npm run dev
to start the server with nodemon
npm run format
to format the code using standard-js
npm run test
to run the tests using jest and axios
Need to create a .env
file for the test and secret environment variables.
user
{
"username": "String",
"password": "String",
"admin": Boolean
}
task
{
"user": ObjectId,
"task": "String",
"priority": "String",
"status": "String"
}