This project is a Customer Management System built using Laravel 10 for the backend and React for the frontend. The system allows for the management of customer data, including creating, reading, updating, and deleting customer records, while providing role-based access control for admin users.
- User authentication with role-based access (Admin and User)
- CRUD operations for managing customers
- Subscription management
- User dashboard with analytics
- File upload for customer ID cards
- Responsive UI built with Tailwind CSS
- Notification alerts for actions (success/error)
- Backend: Laravel 10
- Frontend: React
- Database: MySQL
- Authentication: Laravel Passport
- CSS Framework: Tailwind CSS
- PHP >= 8.1
- Composer
- Node.js and npm
- MySQL
-
Clone the repository:
git clone https://github.com/shaileshdhandhukiya/customer-management-system.git
-
Navigate to the project directory:
cd customer-management-system
-
Install backend dependencies:
composer install
-
Set up your
.env
file:Copy the
.env.example
file to.env
and configure your database and application settings.cp .env.example .env
-
Generate the application key:
php artisan key:generate
-
Run migrations:
php artisan migrate
-
Install frontend dependencies:
Navigate to the frontend directory (if separate) and run:
npm install
-
Start the development server:
For Laravel:
php artisan serve
For React:
npm start