This project was built using:
- Next.js 13 with server actions
- React Query
- TailwindCSS & shadcn/ui for styling
- Vitest & RTL for unit testing
The data is consumed from Dummy JSON API. Head over to their documentation for more details.
git clone https://github.com/hydego17/681d10e2-09b6-4066-9ddc-b95325c4fe0c <your_folder_name>
Note: This project uses pnpm
as package manager. If you haven't installed it yet, see pnpm installation docs for detailed instruction.
pnpm install
If you want to user other package managers such as npm
or yarn
, feel free to delete the pnpm-lock.yaml
file in the root folder and proceed with the installation.
npm install
# or
yarn install
pnpm dev
Note: as of now the Next.js isnt supported in cypress, so unit testing with vitest is the only viable options or now, despite the current issue of RTL with server components (still going on).
pnpm test
Go to http://localhost:3000/.