Quick Start — Deploy in 5 Minutes
Scaffold, develop, and deploy your first NovaServe serverless application in under 5 minutes.
This guide takes you from zero to a working deployed serverless API in under 5 minutes.
1. Install NovaServe
npm install -g novaserve2. Scaffold a New Project
nova init my-first-app
cd my-first-app && npm installThis creates a new project with the following structure:
my-first-app/
├── App.ts # Application & resource definitions
├── nova.config.ts # Compiler & deployment configuration
├── package.json
└── tsconfig.json3. Write Your First Function
Open App.ts and define an HTTP endpoint:
1import { defineApp, api } from "novaserve";23export const app = defineApp({ name: "my-first-app" });45export const hello = api.get("/api/hello", async () => {6 return {7 message: "Hello from NovaServe!",8 timestamp: Date.now(),9 };10});4. Run the Local Emulator
Start the sub-200ms local development sandbox:
nova dev5. Test Your Endpoint
In a new terminal, send a request to your local API:
curl http://localhost:3000/api/helloExpected response:
{
"message": "Hello from NovaServe!",
"timestamp": 1723764000000
}6. Deploy to AWS
When you're ready, deploy to production:
nova deploy --target awsDeploying to AWS requires configured credentials. Set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables, or configure the AWS CLI with aws configure.
NovaServe automatically parses your TypeScript AST, synthesizes least-privilege IAM policies, generates the execution plan, and provisions your Lambda functions, API Gateway, and any declared resources.
What's Next?
- Project Structure — understand file organization
- Compiler Pipeline — how AST transformation works
- Build a REST API — full guide with storage and queues
- CLI Reference — all available commands