Globally Scalable Enterprise Wiki
First, run ElasticSearch and create initial schema by using init.ts.
Secondly, run the Next.js server:
# To run dev server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser.
- Go to Google Cloud Console and a new create project.
- Open hamburger menu, API & Services -> Credentials.
- Create a new OAuth client ID.
- Set Authorized redirect URIs: http://localhost:3000/api/auth/callback/google for development environment.
- Set following environment variables for Next.js server displayed on credentials page:
GOOGLE_CLIENT_ID
: Client IDGOOGLE_CLIENT_SECRET
: Client secretJWT_SECRET
: Random string