This repository includes front-end code for the MatchMe app. And this document provides instructions on how to deploy and run the project. Please follow the steps below to ensure a successful deployment and running of the project.
Before you begin, make sure you have the following tools and software installed:
- Node.js: Download and install Node.js from the official website.
Once installed, you can use the following command to install all project dependencies:
npm install
Once the dependencies are installed, you can start the project using the following command:
npm start
This will launch the application in development mode, and it will automatically open in your default web browser. If it doesn't open automatically, you can manually access it by navigating to the following URL:
Once the project is up and running, you will be able to see the project's user interface in your web browser. You can make changes to the code at any time, and the project will automatically reload.
Additionally, please note the following:
If you encounter any lint errors in the console, please review your code and make necessary fixes. You can stop the project's execution by closing the terminal window where it's running.
- Build the Project: Run the following command to build a production-ready version of the project:
npm run build
-
Deploy to a Web Server: Deploy the contents of the generated build folder to your chosen web server. You can use various web servers like Apache, Nginx, etc. The specific deployment steps may vary depending on the server.
-
Configure Routes: If your project uses a routing library like React Router, ensure that you configure the routes on the web server to handle client-side routing correctly.