Skip to content

luisenriqueruiz/to-do-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

To-do app

Backend and frontend are in diferent folders and need to be started separately

Backend

runing in node 12.20.0 nvm can ve used to set node version

Starting the proyect

in dev mode with nodemon in the port define by PORT env variable

npm run dev

Running tests

tests were writen in jest

to run all tests

npm run test

to run all tests in watch mode

npm run test:watch

Database

to reinitialize the database with seed data

npm run refresh

Enviroment variables

Conection to dabase is set to read enviroment variables, .env file es required on root of backend folder the .env.sample file is left with a connection to a database in elephantSQL

Endpoints

Documentation for all endpoints in Postman colection

Frontend

runing in node 12.18.3 nvm can ve used to set node version you can add a new task and mark a task as done, you can also select a user to view their tasks and a table is displayed with a summary of all users

Starting the proyect

in dev mode with on port 3000

npm start

Running tests

tests were writen in jest

to run all tests

npm run test

About

to-do test app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.4%
  • HTML 4.3%
  • CSS 1.3%