AdaMov is a web application designed for managing and browsing movies. It features an Admin Panel with robust CRUD operations for managing movies, genres, users, and administrators, and a user-friendly website for exploring movie collections.
- Backend: PHP, PDO, MySQL
- Frontend: Bootstrap, CSS, HTML, jQuery, AJAX
- Templates:
- Admin Panel: StartBootstrap
- Website: Colorlib
- Browse and discover movies.
- Comment and review movies
- Create and manage your account.
- Movies: Add, edit, delete, and manage movies.
- Genres: Manage movie categories.
- Users: View and manage user accounts.
- Admins: Manage admin users with restrictions to ensure data integrity.
Follow these steps to set up and run AdaMov on your local environment:
-
Clone the repository:
git clone https://github.com/Adamo08/adamov.git
-
Navigate to the project directory:
cd AdaMov -
Set up the database:
- Create a MySQL database (e.g.,
movies_db). - Import the provided
db.sqlfile into your database to create tables and seed initial data.
- Create a MySQL database (e.g.,
-
Configure the database connection:
- Open the
config.phpfile. - Update the database connection settings (e.g., username, password).
- Ensure the port in the
HOSTconstant matches your MySQL port (default:3306).
- Open the
-
Place the project in the server root:
- If you're using XAMPP or WAMP, place the project folder inside the
htdocsdirectory.
- If you're using XAMPP or WAMP, place the project folder inside the
-
Start the local server:
- Start Apache and MySQL in your XAMPP/WAMP control panel.
- Access the project via your browser at:
http://localhost/AdaMov/public/.
- User Website:
- Register a new account or log in to browse movies.
- Admin Panel:
- Access the admin panel at
http://localhost/AdaMov/public/admin. - Log in using the admin credentials provided in
db.sql. - Manage movies, genres, users, and admins directly from the admin dashboard.
- Access the admin panel at
-
Admin Panel Template:
- Provided by StartBootstrap.
- Licensed under the MIT License. For more details, visit the StartBootstrap License Page.
-
Website Template:
- Provided by Colorlib.
- Licensed under the Creative Commons Attribution 3.0 License. Learn more at the Colorlib License Page.
Contributions are welcome! Here's how you can contribute:
- Fork the repository.
- Create a new feature branch:
git checkout -b feature-name. - Commit your changes:
git commit -m "Add new feature". - Push to the branch:
git push origin feature-name. - Open a pull request and describe your changes.
This project is licensed under the MIT License. See the LICENSE file for details.