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-training-app.git
- Step 2.
go to backend(mock API:json-server)
install package
cd ./nextjs-training-fakeapi
run backendnpm i
npm run dev
- Step 3.
go to frontend(in the new terminal)
install package
cd ./nextjs-training-frontend
run frontendnpm i
npm run dev