This is a Single Page Application built as coding challenge made for TrueNorth.
See the requirement's list.
CircleCI status:
- Vue 3
- Pinia
- Bootstrap
- cypress
npm install
Before run the dev server, please be sure that you have the arithmetic-calculator-api up and running.
Run dev server
:
npm run dev
https://arithmetic-calculator-ui-nu.vercel.app/
user: [email protected] password 123456
Auto deploy with Vercel
Build the SPA for dev env.
npm run build:dev
Build the SPA for production env.
npm run build
Build the SPA for CI env.
npm run build:ci
npm test
Build and serve the SPA through the 8080 port using express and your local Node.js install.
npm start
Or through Docker:
npm run docker:compose
You can check the app at: http://localhost:8080/
Now in another terminal session, run:
npm run cypress:open
- Implement backend for frontend (BFF) using vercel functions.
- Generate cookie that stores the API token via BFF.
- Search records.