Starter kit for NestJS protected by Unkey
This is an example of how to use the Unkey API with NestJS.
12git clone <repo-url>3cd /path/to/repo4
.env.example
file and rename it to .env
.12cp .env.example .env3
Replace your API key in the .env
file.
Install the dependencies.
12pnpm install3
12pnpm run start3
12curl http://localhost:3000/api/v1/public3
12curl http://localhost:3000/api/v1/protected -H "Authorization: Bearer <YOUR_API_KEY>"3
This project is licensed under the MIT License - see the LICENSE file for details.
2500 verifications and 100K successful rate‑limited requests per month. No CC required.