2023-07-23 01:32:58 +02:00
2023-02-08 20:56:22 +01:00
2023-02-10 14:48:59 +01:00
2023-01-30 11:42:43 +01:00
2023-02-07 13:45:40 +01:00
2023-07-23 01:32:58 +02:00
2023-07-23 01:21:58 +02:00
2023-07-23 01:26:01 +02:00
2023-02-10 14:48:59 +01:00
2023-02-07 13:45:40 +01:00
2023-01-30 11:42:43 +01:00
2023-05-10 11:12:18 +02:00
2023-02-07 13:45:40 +01:00
2023-07-23 01:32:55 +02:00
2023-01-30 11:42:43 +01:00
2023-02-07 13:45:40 +01:00
2023-02-08 20:56:22 +01:00
2023-07-23 01:32:58 +02:00
2023-07-23 01:07:41 +02:00
2023-02-07 13:45:40 +01:00
2023-01-30 11:42:43 +01:00
2023-01-30 11:42:43 +01:00

Explainegy

Markdown-based tutorials and articles webapp, built using Docker, NextJS & Prisma

Getting Started

  1. Register a new OAuth app on GitHub: https://github.com/settings/applications/new

    1. Set the "Homepage URL" to http://localhost:3000
    2. Set "Authorization callback" URL to http://localhost:3000/api/auth/callback
  2. Create a .env file in the root directory and add the following variables:

DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres?schema=explainegy"
AUTH_GH_CLIENT_ID="abc"
AUTH_GH_CLIENT_SECRET="abcdef"
AUTH_DEBUG_GH_ADMIN_ID="123" # The GitHub user ID of the admin user

Note: AUTH_DEBUG_GH_ADMIN_ID can be optaind here: https://api.github.com/users/your-username

  1. Run the following commands:
docker compose up -d
npm run dev
  1. Login as admin using your GitHub account: http://localhost:3000/api/auth/signin
  2. Use the webapp: http://localhost:3000/
Description
Markdown-based tutorials and articles webapp, built using Docker, NextJS & Prisma
Readme 6.8 MiB
Languages
CSS 52.9%
TypeScript 37.1%
SCSS 10%