Dive into the world of Symfony6 with MenuKarte, a project designed to practice your skills in symfony framework.
To embark on this journey, you'll need to set up your local development environment:
- XAMPP or MAMP or Docker or VAGRANT etc etc
Choose what suits you best and prepare for an adventure!
Follow these steps to get your MenuKarte up and running:
-
Environment Configuration
- Copy
env.test
to.env
. - Update the
.env
file with your database credentials:username
,password
, and add yourtable name
based on your requirements.
- Copy
-
Install Dependencies
- Run
composer install
in your terminal to install the required PHP dependencies.
- Run
-
Database Creation
- Execute
php bin/console doctrine:database:create
to create your database.
- Execute
-
Schema Update
- Use
php bin/console doctrine:schema:update --force
to update your database schema.
- Use
-
Load Fixtures
- Run
php bin/console doctrine:fixtures:load
to load the initial data (username and password for admin panel)
- Run
After completing the setup, your MenuKarte website is ready to explore:
- For XAMPP or similar setups, access your site via
http://localhost/yourfolder/public
.
Dive into the admin area at http://localhost/yourfolder/public/admin
with the credentials:
- Username: admin2
- Password: pass_1234
These credentials are generated through Symfony fixtures for a quick start.
Once logged into the admin panel, you have the power to:
- Register New Workers: Add team members to your project.
- Add Dishes: Expand your menu with new culinary delights.
- Add Categories: Organize your dishes into categories for easier navigation.
- Order Dishes: Manage orders and keep your customers satisfied.
MenuKarte is designed with flexibility in mind. It utilizes Bootstrap for styling, and the template has been carefully imported and adjusted to fit the project's requirements. Feel free to clone the project and tailor it to your needs.
Here are some snapshots of what you can expect from your MenuKarte project:
Thank you.