Skip to content
This repository was archived by the owner on Oct 16, 2023. It is now read-only.

renatocfrancisco/to-do-mern-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

860ef73 · Oct 9, 2023

History

49 Commits
Jun 16, 2023
Jul 5, 2023
Jul 14, 2023
Jul 4, 2023
Jul 4, 2023
Jul 5, 2023
Jul 21, 2023
Jun 16, 2023
Jun 16, 2023
Oct 9, 2023
Jul 21, 2023
Jun 22, 2023
Jul 14, 2023
Jul 14, 2023
Jul 14, 2023

Repository files navigation

to-do-mern-api

GitHub JavaScript Style Guide GitHub code size in bytes MongoDB Express.js NodeJS Jest

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

commands

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.

documents

user

{
  "username": "String",
  "password": "String",
  "admin": Boolean
}

task

{
  "user": ObjectId,
  "task": "String",
  "priority": "String",
  "status": "String"
}