Look at the Nuxt 3 documentation to learn more.
- Records management at /manage
- ID and access token required to display a record (available in management)
- Every record can be submitted only once
Make sure to install the dependencies:
npm install
Requests need to be sent via HTTPS in order for HttpOnly cookies to work. Use mkcert for local development.
The following environment variables must be set:
- MONGODB_URI (database access)
- MANAGE_TOKEN (secure, serves as password for backend access)
- AUTH_SECRET (secure, jwt secret)
- BASE_URL
- NODE_TLS_REJECT_UNAUTHORIZED=0 (in case of local development)
Start the development server on http://localhost:3000
:
# npm
npm run dev
Build the application for production:
# npm
npm run build