Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.71 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.71 KB

DEPLOYED AT

https://adnans-react-typescript-todo.netlify.app/

credentials:

username: "AdnanKhan" password: "AdnanKhan@4069"

Frontend Engineer Assignment

Create a React Application with a login page and a dashboard page. The dashboard should display the user’s profile information and a list of the user’s todos. For authentication, user profile info You can use a JSON file or a static JavaScript object for mock username & password data. Implement the following features in the application:

  1. Implement user authentication using a secure token-based authentication such as JWT. Without login, the user should not be able to see the dashboard.

  2. The app should use React Context API to store login user information.

  3. Implement the logout functionality.

  4. In the dashboard, add a button through which new Todos can be added, when creating a todo it can be stored in a global context.

  5. Add a feature that allows the addition of Nested Todo, (Sub Task), It is entirely up to you how you design this feature. get inspiration from existing Todo apps

  6. Make sure to sanitize and validate user inputs to prevent injection attacks.

  7. Implement a route guard that requires the user to be successfully authenticated before they can view their dashboard. If the user is not authenticated, they should be redirected to the login page.

  8. Implement proper error handling in the code.

  9. Use your own creativity to make a better user experience.

  10. The app can be hosted on any platform i.e Netlify, or Vercel. And source code should be publically accessible on any git repository to review.

  11. The source code must be in Typescript. Candidates can take inspiration from this screenshot below to create their own dashboard experience.