|
1 | | -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). |
| 1 | +# Authlete Recipes |
2 | 2 |
|
3 | | -## Getting Started |
| 3 | +Explore Authlete OAuth recipes in a guided experience. Browse organizations, complete initial onboarding and execute recipe. Run each step with the built-in code runner. |
4 | 4 |
|
5 | | -First, run the development server: |
| 5 | +## Run Locally |
6 | 6 |
|
7 | | -```bash |
8 | | -npm run dev |
9 | | -# or |
10 | | -yarn dev |
11 | | -# or |
12 | | -pnpm dev |
13 | | -# or |
14 | | -bun dev |
15 | | -``` |
| 7 | +- Install dependencies: `npm install` |
| 8 | +- Configure Authlete access (recommended): `AUTHLETE_BEARER=<token>` and optionally `AUTHLETE_BASE_URL=<url>` in your env; placeholder data loads without them. |
| 9 | +- Start the dev server: `npm run dev` then visit `http://localhost:3000` and pick an organization to enter its dashboard. |
16 | 10 |
|
17 | | -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. |
| 11 | +## Testing |
18 | 12 |
|
19 | | -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. |
| 13 | +- Run the Vitest suite: `npm test` |
| 14 | +- Watch mode: `npm run test:watch` |
| 15 | +- Coverage: `npm run test:coverage` |
| 16 | +- Lint (optional): `npm run lint` |
20 | 17 |
|
21 | | -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. |
| 18 | +## Github Repository |
22 | 19 |
|
23 | | -## Learn More |
24 | | - |
25 | | -To learn more about Next.js, take a look at the following resources: |
26 | | - |
27 | | -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. |
28 | | -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. |
29 | | - |
30 | | -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! |
| 20 | +https://github.com/rehanalam/authlete-demo-app |
31 | 21 |
|
32 | 22 | ## Deploy on Vercel |
33 | 23 |
|
34 | | -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. |
35 | | - |
36 | | -Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. |
| 24 | +https://authlete-demo-app.vercel.app/ |
0 commit comments