⚗️ Nitro
Build and Deploy Universal JavaScript Servers
Why using Nitro?
Nitro provides a powerful toolchain and a runtime framework from the UnJS ecosystem to build and deploy any JavaScript server, anywhere!
❯
❯
❯ 💼 Portable and compact deployments without node_modules
dependency
❯ 📁 Directory structure aware to register API routes and more with zero configuration
❯
❯
❯
❯
❯
❯
❯
❯
Who is using Nitro?
Nuxt 3 is using Nitro as its server engine.
📖 Documentation
✍️ Changelog
🏀 Online playground
😺 Quick Start
nitro-app
mkdir nitro-app
cd nitro-app
1️⃣ Create routes/index.ts
:
export default () => 'nitro is amazing!'
2️⃣ Start development server:
npx nitropack dev
🪄 Your API is ready at http://localhost:3000/
Check .nitro/dev/index.mjs
if want to know what is happening
npx nitropack build
.output
directory and ready to be deployed on almost any VPS with no dependencies. You can locally try it too:
node .output/server/index.mjs
That's it you got it! Read the documentation to learn more.
🌱 nitro is young and under development
Check
License
Made with 💛 Published under MIT.