This is my excercise to learn Nextjs.
Using Nextjs 14, Server Action, Typescript, json-server.
- Step 1.
Clone the project
git clone https://github.com/zhengwuqingling28/nextjs-admin.git
- Step 2.
go to backend(mock API:json-server)
install package
cd ./next-admin-fakeapi
run backendnpm i
npm run dev
- Step 3.
go to frontend(in the new terminal)
install package
cd ./next-admin-frontend
run frontendnpm i
npm run dev