Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 714 Bytes

INSTALLATION.md

File metadata and controls

29 lines (24 loc) · 714 Bytes

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/CampX.git
    cd CampX
  2. Install the necessary dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root directory with the following variables:

    DATABASE_URL=your_mongo_atlas_url
    CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
    CLOUDINARY_API_KEY=your_cloudinary_api_key
    CLOUDINARY_API_SECRET=your_cloudinary_api_secret
  4. Start the server:

    npm start
  5. Open your browser and navigate to http://localhost:3000 to view the app.