shgiebner21 / notes-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project was bootstrapped with Create React App.

To run the application;

Open two terminal windows

In the first window, navigate to src/API folder and type node api.js [Enter]

When the api is running, you will see 'listening on port 3001'

In the second window, from the root folder type yarn start [Enter]

This will open the application in your browser

Known issues;

Edit note does not work correctly with lowdb, it refuses to update the note, rather it will add a new note with the SAME id as the original note.

To test code before submitting PR's;

yarn test

Due to the time crunch, there is only one test file added; for DeleteButton. In a production application, there would be test files for all Atoms, Molecules and Organisms.

TODO's:

Add input validation

I was going to add Yup and Formik, but ran out of time.

About


Languages

Language:JavaScript 82.0%Language:CSS 11.3%Language:HTML 6.7%