@svarta/dev-server
v0.0.12
Published
[![TS ready](https://img.shields.io/static/v1?label=&message=TS+ready&color=000000&logo=typescript)]() [![ESM ready](https://img.shields.io/static/v1?label=&message=ESM+ready&color=%23000000&logo=javascript)]() [![CI](https://github.com/svartajs/svarta/ac
Downloads
7
Readme
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