- Full CRUD is implemented for employee model
- Most of the field for the employee model are option-based (selected from a pick list)
- Limitations:
- no integration testing
- no linting (Used IDE formatting)
- ideally should be containerized for ease of portability
- see
srcfolder under the project root - components are styled using
styled-components- css is self-contained in each component
- The employee list and form is broken into container and view
- container holds state and core logic
- view has presentation elements and logic
- used basic HTML form validation
- Limitation: transaction success/failure is not implemented
- see
serverfolder under the project root controllerholds request/response processing logicdalholds data access code to MySQL DBrouteholds express routes- setting up the db:
- run the
server/setup.sqlon your local MySQL to setup DB - modify
server/dbconfig.jsto value specific to your machine
- run the
- using
morganmiddleware for logging api requests