This is a PHP-based CRUD (Create, Read, Update, Delete) application that allows users to manage records in a MySQL database. The application features user authentication, role-based access control, and functionality for importing and exporting user data.
- User Authentication: Secure login and registration system with password hashing.
- Role-Based Access Control: Admin and user roles with restricted access for non-admin users.
- CRUD Operations: Create, read, update, and delete user records with SQL injection protection.
- Data Import/Export: Import user data from CSV files and export to CSV format.
- Search and Sort: Search and sort functionality for user records.
- User Activity Logging: Track actions performed by users.
- Responsive Design: Uses Bootstrap for a responsive and modern UI.
- PHP
- MySQL
- HTML/CSS
- Bootstrap (for responsive design)
- Font Awesome (for icons)
-
Clone the repository:
git clone https://github.com/akhileshpandey0180/futuristic-crud.git
-
Navigate to the project directory:
cd futuristic-crud
-
Set up the database:
- Create a MySQL database.
- Import the necessary SQL scripts to create the required tables.
-
Configure the database connection:
- Update the db_conn.php file with your database credentials.
-
Start a local server:
- Use a local server environment like XAMPP or WAMP.
- Navigate to http://localhost/crud in your web browser.
- Register or Log In: Create a new account or log in with existing credentials.
- Admin Actions: As an admin, you can add, edit, or delete user records.
- Import/Export Data: Use the import feature to add users from a CSV file and export user data to CSV.
- Search and Sort: Utilize the search and sort functionalities to manage user records efficiency.
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License - see the LICENSE file for details.