DPA-Restook-Admin-Panel is a React application for managing the Restook platform. It provides an admin panel for managing various aspects of the platform, including advertisements, restaurants, and users.
To set up the project, follow these steps:
-
Clone the repository:
git clone https://github.com/Ali-Sdg90/DPA-Restook-Admin-Panel.git cd DPA-Restook-Admin-Panel/restook-admin-panel
-
Install the dependencies:
npm install
-
Run the development server:
npm start
-
Build the project for production:
npm run build
- To run the application in development mode, use
npm start
. - To run tests, use
npm test
. - To build the application for production, use
npm run build
. - To deploy the application to GitHub Pages, use
npm run deploy
.
To deploy the project to GitHub Pages, follow these steps:
-
Ensure the
homepage
field inpackage.json
is set to the correct URL:"homepage": "https://<username>.github.io/<repository-name>/"
-
Run the following command to build and deploy the project:
npm run deploy
For more detailed information, refer to the restook-admin-panel/README.md file.