Frontend for admin GUI in the ROR project.
- 🔒 TypeScript by default
- 📖 Next.js
- 🎨 Styling (To be decided)
Copy the .env.example
file to .env.local
and fill in the necessary values.
/// .env.local
AUTH_SECRET=
AUTH_ISSUER=
AUTH_CLIENT_ID=
AUTH_CLIENT_SECRET=
ROR_API_URL=
Note: Environmental variables will be validated running runtime and mapped to a different naming convention. See /env.ts
for implementation details.
To generate a secret for AUTH_SECRET
you can run the following command:
openssl rand -base64 32
The secret is used for session management by the next-auth
library.
Install the dependencies:
npm install
Start the development server with HMR:
npm run dev
Your application will be available at http://localhost:11000
.
Create a production build:
npm run build