- Node.js and npm (or yarn) installed on your system.
- Docker installed on your system. You can find installation instructions at https://docs.docker.com/engine/install/.
Clone the repository:
Bash
git clone https://github.com/HarshDeswal/glytics-frontend.git
cd glytics-frontend
Bash
npm install
Bash
npm run build
Bash
npm start
This will start a development server for your React application at http://localhost:3000 by default.
Using Docker:
Bash
docker build -t your-username/your-app-name
.
Bash
docker run -p 5000:5000 your-username/your-app-name
This will run a Docker container with your React application exposed on port 5000 of the host machine.