- run:
npm i
in both client and server folders - run:
docker-compose up
in terminal - run:
knex migrate:latest
to get PSQL DB up to date - go to
localhost:3000
in browser to view the application - to run tests, go to client folder and run
npm test
to run the calculator tests
- The calculator should have a browser-based user interface (ie it can be opened using a web browser)
- The calculator should have a number pad with digits 0-9 and decimal point.
- The calculator should have buttons for addition, subtraction, multiplication, and division.
- The calculator should have a display that shows the input and the result of the calculation.
- The calculator should follow the order of operations (PEMDAS).
- The calculator should have a way to sign up with a username and password
- The calculator should have a way to log in with username and password
- The calculator should be usable with or without authentication
- The calculator should have a navigation bar or panel which displays the user’s authentication status
The calculator should have the following features:
- Memory functions (M+, M-, MR, MC)
- Percentage function (%)
- Square root function (√)
- Exponential function (^)
- History function
React, TypeScript, Formik, Material UI, JavaScript, Knex, Express, Node, PSQL