Getting Started:
- Make sure you have NodeJS, npm, and yarn installed on your local machine.
- Run
yarn installfromsrc/webandweb/api. - Run
yarn startfrom the root directory and the frontend should open atlocalhost:3000. - Open
localhost:3000/readme.
This project contains a frontend and backend, with data stored in a JSON file.
src/webcontains all frontend files, with UI classes under thecomponentsdirection and CSS instyle. The classapi.tsshould contain client-side functions for interacting with the backend API.src/apicontains all backend classes. API endpoints are defined inapp.ts, functions for managing invoice and project data are inutil.ts, and generic utility functions for interacting with the JSON data file are indb/db.ts.
To run prettier, run yarn prettier.
To run eslint, run yarn eslint.
To run tests, run yarn test --watchAll=false.