This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
You've built a finance calculator to help users undertstand what their monthly repayments will be, with a given loan amount, and duration set by the user.
We don't expect full completion on every one of these excercises, this is primarily to get an idea of your approach. There's some ambiguity within the test, so please don't hesistate to ask us any questions during the excercise too.
We've put an image in the /assets
folder for inspiration/guidance.
You can use either CSS or SCSS.
Running the tests inside the api
subfolder using yarn test
should result in one test failing. You'll need to fix the issue.
The calculator is currently set up to simply divide the total loan amount by the number of months. This task will involve adding a yearly interest of 5%. You'll also need to update the tests.
What features would you add to the calculator next? What's missing? What would you do to update the quality of the software?
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.