https://github.com/kdhttps/next-js-cedarling
Cedarling integration authorization in React Next JS
https://github.com/kdhttps/next-js-cedarling
Last synced: 2 months ago
JSON representation
Cedarling integration authorization in React Next JS
- Host: GitHub
- URL: https://github.com/kdhttps/next-js-cedarling
- Owner: kdhttps
- Created: 2025-03-31T09:07:03.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-06-12T13:21:38.000Z (7 months ago)
- Last Synced: 2025-06-12T14:33:01.593Z (7 months ago)
- Language: TypeScript
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
## Getting Started
Make `.env` file in root and add below config for OAuth Login
```
NEXT_PUBLIC_OP_SERVER=https://your-op-server
NEXT_PUBLIC_OP_CLIENT_ID=
NEXT_PUBLIC_URL=http://localhost:3000
```
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Docker
Make `.env` file in root folder.
```sh
NEXT_PUBLIC_OP_SERVER=https://your-op-server
NEXT_PUBLIC_OP_CLIENT_ID=
NEXT_PUBLIC_URL=http://localhost:3000
```
```bash
docker build -t next-js-cedarling .
docker run -p 3000:3000 next-js-cedarling
```
Open `http://localhost:3000/` URL in your browser to access application.