Short project description here.
Before you begin, ensure you have met the following requirements:
-
Node.js: Make sure you have Node.js installed. You can download it from nodejs.org.
-
Yarn (optional): We recommend using Yarn as the package manager for this project. You can install Yarn from yarnpkg.com.
Follow these steps to get your React.js project up and running:
Clone this repository to your local machine using the following command:
git clone https://github.com/Asad195/ticket-kite-frontend.git
Change your current directory to the project folder:
cd ticket-kite-frontend
Create a .env file in the project root and define your environment variables. Here's an example .env file:
VITE_BASE_URL=https://***/api
VITE_API_TOKEN=*****ef
Use Yarn to install the project dependencies. Run the following command:
yarn install
To run the project in development mode, use the following command:
yarn dev
This will start the development server, and your React app will be available at http://localhost:3000
Open your web browser and navigate to http://localhost:3000 to view your React app. You should see your app's home page.
Now you're ready to start coding! You can edit the project files in your preferred code editor. Changes you make will be reflected in real-time in your development server.
When you're ready to deploy your app to production, you can create a production build using:
yarn build
This will generate optimized and minified production-ready files in the dist directory.