This is a Next.js project bootstrapped with create-next-app, integrated with Propel's UI Kit to create a sample dashboard.
- Node.js 18.17 or later
- npm or yarn package manager
- A Propel account with access to the necessary credentials
-
Clone the repository:
git clone https://github.com/propeldata/propel-nextjs-starter-app-v2.git && cd propel-nextjs-starter-app-v2
-
Install dependencies:
npm install # or yarn install -
Set up environment variables:
- Copy the
.env.samplefile to.env.local:cp .env.sample .env.local
- Open
.env.localand fill in your Propel credentials:CLIENT_ID=your_client_id CLIENT_SECRET=your_client_secret TOKEN_HOST=https://auth.us-east-2.propeldata.com TOKEN_PATH=/oauth2/token
- Copy the
-
Run the development server:
npm run dev # or yarn dev -
Open http://localhost:3000 with your browser to see the result.
- OAuth2 authentication with Propel
- Sample dashboard with filters, time range picker, and various charts
- Responsive design using Radix UI
To learn more about the technologies used in this project, check out the following resources:
You can start customizing the app by modifying src/app/page.tsx. The page auto-updates as you edit the file.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.
If you encounter any issues or have questions about this starter app, please open an issue in this repository.
This project is licensed under the MIT License - see the LICENSE file for details.