7. Admin Panel Setup
Ensure that your server meets the requirements outlined in the documentation’s Server Requirement section. Upon downloading the code, upload the admin zip file to your server and extract it. The admin panel can be installed on either a domain or a subdomain.
7.1 Create Database
7.1.1 : Create a new database from your server’s MYSQL database.

7.1.2 : Create New Database

7.1.3 : Create a new database user

7.1.4 : Connect the database to the newly created database user.

7.1.5 : Grant all privileges to your user by selecting “All PRIVILEGES” and then clicking on “Make Changes”

7.2 Configure Admin Panel
6.2.1 : Once you’ve downloaded the code, upload the admin zip file to your server and extract it. The admin panel can be installed on either a domain or subdomain.
7.2.2 : Next, you’ll need to configure the following settings in your .env file: Database host, Database name, Database username, Database password, and your Firebase project credentials.

To obtain Firebase credentials, navigate to Project Settings > General >, then select your web app.
Web apps

7.2.3 : Import the provided foodie_admin_database.sql file to initialize the database.
7.2.4 : Now the admin panel is ready to run.
Important Notes:
To work firebase push notification feature functions correctly, please upload your Firebase credentials file in the Admin Panel by navigating to Settings > Global Settings > Notifications Setting.

