Skip to content

Ali-Sdg90/DPA-Restook-Admin-Panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPA-Restook-Admin-Panel

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.

Project Setup

To set up the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Ali-Sdg90/DPA-Restook-Admin-Panel.git
    cd DPA-Restook-Admin-Panel/restook-admin-panel
  2. Install the dependencies:

    npm install
  3. Run the development server:

    npm start
  4. Build the project for production:

    npm run build

Usage Guidelines

  • 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.

Deployment to GitHub Pages

To deploy the project to GitHub Pages, follow these steps:

  1. Ensure the homepage field in package.json is set to the correct URL:

    "homepage": "https://<username>.github.io/<repository-name>/"
  2. 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.