Welcome to our React App! This guide will walk you through setting up your development environment on your local machine.
Before you begin, ensure that you have the following software installed on your machine:
- Node.js (version 14 or later)
- npm (Node Package Manager)
Follow these steps to set up your development environment:
-
Clone the Repository: git clone https://github.com/Swipe-industries/luxswipe-front
-
Navigate to the Project Directory: cd project-directory
-
Install Node Modules: npm install
This will install all the necessary dependencies for the project. Note that Node modules might have been ignored in the main branch, so you need to install them locally.
- Start the Development Server: npm run dev
This will start the development server using Vite, allowing you to view your React application in the browser.
- Open in Browser:
Once the development server is running, open your browser and navigate to
http://localhost:3000
to view the React application.
- Build the Production Version: npm run build
This command will create a production-ready build of your React application in the dist
directory.
- Run Tests: npm test
This command will run any test suites associated with the project.
If you would like to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request detailing your changes.
If you encounter any issues while setting up the development environment or have questions about the project, feel free to create an issue in the repository. Our team will be happy to assist you.
Happy coding!