This is a demo project for the Freelancer code challenge.
- Install your dependencies:
npm install
- Run Test cases
npm run test
- Run the development server:
npm run dev
Username : mor_2314
Password : 83r5^_
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/pages/index.tsx
.
- Everything is separate and kind of in its hierarchy.
- This folder structure is very effective when having complex projects and a large team of developers.
- Code has very less comments that's intentional because a good code should be self-explanatory without explicit comments.
- To make this more realistic we have used fakestoreapi.com for login and fetching data.
- We have written tests using Jest and can be found under src/tests folder