mukul0596 / model-spaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started with Create React App

Setup

To set up the project on your local machine, please follow these steps:

  1. Create a .env file in the root directory:
    • In the root directory of the project, create a new file named .env.
  2. Add the API base URL to the .env file:
    • Open the .env file and add the following line:
    REACT_APP_API_BASE_URL=<API BASE URL>
    • Replace <API BASE URL> with the actual base URL of the API.
  3. Install the project dependencies:
    • Open your terminal and navigate to the project directory.
    • Run the following command to install all the necessary dependencies:
    npm install`
    

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.

Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.

npm run build

Builds the app for production to the build folder.

It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

About


Languages

Language:JavaScript 96.4%Language:HTML 2.2%Language:CSS 1.4%