This is a basic admin dashboard where an admin can manage users. The admin can see the list of users, add new users, delete users, and edit user details.
- Node.js v14.0 or higher
- npm v6.14.4 or higher
- Clone the repository to your local machine.
- Run
npm install
to install all the dependencies. - Create a mock user API on https://mockapi.io/.
- Define the database schema for users.
- Update the
User.ts
file according to the defined schema. - Set the column headers in
Table.tsx
according to the defined schema. - Set the environment variable for the mock API as
VITE_DB_URL
. - Run
npm run dev
to start the development server.
- React.js
- TypeScript
- Tailwind CSS
- MockAPI
- View list of users
- Add new users
- Delete users
- Edit user details
This project is licensed under the MIT License - see the LICENSE file for details.