Installation Instructions - vinishamanek/vinis-vehicles GitHub Wiki

Installation Instructions

To set up this project locally, follow these steps:

Prerequisites

  • Node.js installed on your system
  • npm (Node Package Manager), which comes with Node.js
  • MongoDB set up for the database

Setup

  1. Clone the repository to your local machine:

    git clone https://github.com/vinishamanek/SillySquad-soen341projectW2024
    
    
  2. Navigate to the repository folder:

    cd [repository name]
    
    
  3. To set up the backend API, run the following commands:

    cd api
    npm install
    
    
  4. To set up the React front-end, open a new terminal and run:

    cd react-client
    npm install
    npm start
    
    

This will start both the API server and the React development server. By default, the API will be available at http://localhost:9000 and the React application will be available at http://localhost:3000.