This project was created as a given task from Anchorblock Technology LLC. Task The given is completed and can be found at https://anchorblock-webapp.vercel.app.
For any further information on this project
Mail me: rhasan.diu.cse@gmail.com Call me: +8801920992221
Technologies used to complete this:
- ReactJS
- Redux Toolkit
- Tailwind CSS
- React Query
- ShadCN
- Axios
- React Router
- Iconify
- Zod
Running the project locally:
To run the project locally just clone the project and run the following commands
yarn
yarn dev
Project will be available at localhost:5173 which is the default port for Vite React App.
Environment Variables
Project will be unable to connect to the remote api or varify user with local storage without the valid .env file.
The .env file carries only 2 variable. The key for the variable are provided below and the values can be found in .env.example
file
file
VITE_USER_TOKEN_NAME=
VITE_API_BASE_URL=
Intended folder structure
. └── src/
├── api
├── components
├── features
├── hooks
├── layouts
├── lib
└── pages
All the UI components can be found at components
folder, route pages in pages folder
.
Login and Registration
Login and Registration can only be done with the users listed in https://reqres.in/ For testing you can use the given email to login or registraion as well
email: eve.holt@reqres.in
password: any