Skip to content

cx-reports/consumer-demo-app-nextjs

Repository files navigation

Tux, the Linux mascot

CxReports Consumer Demo Application

This application demonstrates how CxReports can be integrated into third-party applications.

Live Demo

Prerequisites

Before you begin, ensure you have the following installed on your system:

  • Node.js (v18.17 or later)
  • macOS, Windows (including WSL), and Linux are supported.

Installation

Follow these steps to set up and run the application:

  1. Clone the GitHub repository:

    git clone https://github.com/cx-reports/consumer-demo-app-nextjs.git
  2. Navigate to the project directory and install the necessary packages:

    cd consumer-demo-app-nextjs
    npm install
  3. Create a .env.local file in the root directory of the project.

  4. Add the following environment variables to the .env.local file, replacing the placeholder values with your actual values:

    BASE_URL="your_base_url"
    DEFAULT_WORKSPACE_ID=your_workspace_id
    AUTH_TOKEN="your_auth_token"
  5. Start the development server:

    npm run dev
  6. Open your browser and visit http://localhost:3000 to see the application in action.


Support

For further assistance, please contact our support team or check out the official documentation.

License

MIT License

About

Example of integration of CxReports within Next.js applications

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •