This is a Next.js project bootstrapped with create-next-app
.
First you'll need to create a .env.local file in the root directory and add your Up API key like this:
NEXT_PUBLIC_UP_API_KEY = "up:yeah:yourrealapikeywillgoinhere"
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
To set your emojis and savings goals, you need to edit the utils/accountDetails.js
file:
- The property key just needs to match your saving account name
- The emoji just needs to be the relevant emoji shortcode (minus the colons). Can find a list here: https://emojipedia.org
- The savings goals need to inputted as cents, not dollars
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!