A NestJS REST API in TypeScript, ready to deploy on Light Cloud.
- NestJS 11, scaffolded with
nest new - TypeScript with decorators and dependency injection
- Modular architecture — controllers, providers, modules
- Listens on
$PORT, defaulting to 3000
| Method | Endpoint | Description |
|---|---|---|
| GET | / |
Welcome message |
# Install dependencies
npm install
# Start development server
npm run start:dev
# Build and run for production
npm run build && npm run start:prodThe API will be available at http://localhost:3000
Visit console.light-cloud.com and sign up with GitHub or Google.
- Click "New Application" in the dashboard
- Select "Container" as the deployment type
- Choose "NestJS" as the framework
- Option A: Fork this repository and connect it via GitHub
- Option B: Push this code to your own GitHub repository and connect it
Light Cloud will auto-detect your settings, but you can verify:
| Setting | Value |
|---|---|
| Port | 3000 |
| Start Command | npm run start:prod |
Click "Deploy" and your API will be live in minutes!
Your API will be available at https://your-app.light-cloud.io
This starter is the output of nest new, with only the changes noted above.
Website • Documentation • Console
Made with ☁️ by Light Cloud
