Skip to content

ADLM10/basic-admin-dashboard

Repository files navigation

Admin Dashboard

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.

Getting Started

Prerequisites

  • Node.js v14.0 or higher
  • npm v6.14.4 or higher

Installing

  1. Clone the repository to your local machine.
  2. Run npm install to install all the dependencies.
  3. Create a mock user API on https://mockapi.io/.
  4. Define the database schema for users.
  5. Update the User.ts file according to the defined schema.
  6. Set the column headers in Table.tsx according to the defined schema.
  7. Set the environment variable for the mock API as VITE_DB_URL.
  8. Run npm run dev to start the development server.

Technologies Used

  • React.js
  • TypeScript
  • Tailwind CSS
  • MockAPI

Features

  • View list of users
  • Add new users
  • Delete users
  • Edit user details

License

This project is licensed under the MIT License - see the LICENSE file for details.