Device Management Hub is a MERN stack application that allows you to manage devices. This application is built using MySQL, Express.js, React, and Node.js.
Before you begin, ensure you have met the following requirements:
- You have installed Node.js (Recommended version 14 or higher)
- You have installed Yarn
- You have installed MySQL and it is running locally.
To get a local copy up and running, follow these steps:
-
Clone the repository
git clone https://github.com/elcamino666/DeviceManagementHub.git cd DeviceManagementHub -
Install Yarn packages
- Install server dependencies
yarn install
- Install client dependencies
cd client yarn install cd ..
- Install server dependencies
-
Environment Variables You need to set up your environment variables. Create a
.envfile in the root directory and set up your variables. Example:MYSQL_HOST='127.0.0.1' MYSQL_USER='your_mysql_username' MYSQL_PASSWORD='your_mysql_password' MYSQL_DATABASE='your_mysql_database_name' PORT=9999
To run Device Management Hub, follow these steps:
- Start the server
- From the main directory, run:
yarn dev
- Start the client
- Open another terminal, navigate to the
clientdirectory, and run:cd client yarn dev
- Access the application
- Open your web browser and go to
http://localhost:3000.
If you want to contribute to Device Management Hub, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>. - Make your changes and commit them:
git commit -m '<commit_message>'. - Push to the original branch:
git push origin <branch_name>. - Create the pull request.
This project uses the following license: mit.
If you want to contact the developer, you can reach Eni Veshi at eni@run4dev.com.