@svarta/cli v0.0.12
svarta
A TypeScript-native, ESM-native REST API framework.
By abstracting the underlying platform, it allows deployment to different platforms without changing your code. Routes are organized using file-based routing, commonly used in fullstack frameworks like Next.js or SvelteKit.
It aims to provide a more robust developer experience than established packages like Express or Koa. Svarta can scaffold your application from the ground up, removing the overhead of installing and setting up development dependencies, toolchains and build scripts. Say goodbye to setting up 15 packages to get your Express project started!
Bootstrap new project
npm create svarta-app
yarn create svarta-app
pnpm create svarta-app
For development, run:
npm run dev
yarn dev
pnpm dev
For building, run:
npm run build
yarn build
pnpm build
If you use the standalone adapter, your app will be bundled to a single .mjs file which you can run using:
node server.mjs