Client: React, NextJs, Material UI
API: JSONPlaceholder
To install dependencies, run the following command
npm install
To run tests, run the following command
- e2e tests will failed with this command, instead try the section end to end tests section
npm run test
To run tests, run the following command after building the app
npx playwright test
To run the app, run the following command set those local env variables :
- NEXT_PUBLIC_DEFAULT_USER_PASSWORD
- NEXT_PUBLIC_API_URL
npm run dev
To run the app, run the following command set those local env variables :
- NEXT_PUBLIC_DEFAULT_USER_PASSWORD
- NEXT_PUBLIC_API_URL
To login use those credentials :
- email : Sincere@april.biz
- password : NEXT_PUBLIC_DEFAULT_USER_PASSWORD || erTy3r4t
npm run build && npm run start