Quick Start Guide
Launch your first εναμχ! project in minutes with this step-by-step tutorial.
Step 1: Initialize Project
Terminal
v3.2.1
// Initialize a new εναμχ! project $ εναμχ! init my-first-project > Project created at my-first-project/ > Installing dependencies... > Done in 3.2s // Navigate to your new directory $ cd my-first-project // Start the development server $ εναμχ! serve > Server running at http://localhost:3000
Step 2: Add Your First Script
app.js
// Hello εναμχ!
function main() {
console.log("🚀 εναμχ! Platform Initialized");
return {
status: 200,
body: {
message: "Hello from εναμχ!"
}
};
}
export { main };
Preview
Serverless function output:
[ εναμχ! ] Executing function: main()
[ εναμχ! ] Result status: 200
Output:
{"message":"Hello from εναμχ!"}
Next Steps
-
Deploy your function using
εναμχ! deploy
- Learn about advanced routing
- Create a database connection