https://github.com/xta/next-ts-ql
https://github.com/xta/next-ts-ql
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/xta/next-ts-ql
- Owner: xta
- Created: 2023-08-10T01:19:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-10T09:25:52.000Z (almost 3 years ago)
- Last Synced: 2025-03-09T12:55:00.159Z (about 1 year ago)
- Language: TypeScript
- Size: 546 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js (v13.4), React (v18.2) TS app
### Setup
```bash
npm install
cp .env.local.example .env.local
## make sure .env.local is setup
OKTA_OAUTH2_ISSUER=...
OKTA_OAUTH2_CLIENT_ID=...
OKTA_OAUTH2_CLIENT_SECRET=...
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=...
NEXT_PUBLIC_GITHUB_PERSONAL_ACCESS_TOKEN=
```
### Usage
Run the development server:
```bash
npm run dev
```
Based on https://github.com/nextauthjs/next-auth-example