Milestone 1:
- Create a card component and render static data.
Milestone 2:
- Make the card component reusable
- Render multiple cards with different data
Milestone 3:
- Create a new “My Tokens” page
- When clicking a card on the home page, add it to your “My Tokens” list
- Navigating to your My Tokens page should show you all your favourited tokens
- Use Zustand to persist the data across page loads
Milestone 4:
- Use the Coin Market Cap API (or similar) to pull dynamic data, limit the amount returned to 10 or 20, don’t worry about pagination.
- Here's the link to the docs: https://coinmarketcap.com/api/documentation/v1/
- Specifically this endpoint should be pretty handy: https://coinmarketcap.com/api/documentation/v1/#operation/getV1CryptocurrencyListingsLatest
- Here’s an API key:
0cb61b43-fe49-42ce-8e3a-e030fb104f24
Milestone 5:
- Instead of using zustand to persist state, implement Mongo DB to store your “My Tokens” data.
Milestone 6:
- Add in the ability to delete/remove favourited items
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
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.