This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
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.
- Homepage:
src/modules/home-v2/introduction/
- Detail CEX:
src/modules/ranking/project-detail/exchanges
- Thu tu thuc thi cua chuong trinh:
- Call APIs & khai bao contexts:
src/pages
- Sau do
/pages
se import va chay cac module tusrc/modules
- Call APIs & khai bao contexts:
- Ghep APIs:
- Liet ke API o
services/[..]-api/
:- Khai bao kieu trong
data-types.ts
- Ham goi API trong
index.ts
- Khai bao kieu trong
- Goi APIs trong
pages/
- Liet ke API o
- Neu dung context:
- Dau tien liet ke context. Type cua context se dua vao kieu tra ve cua API (i.e. phai import cac Api vao context)
- Dung context o dau thi import vao o do (thuong la dung o
modules/
)