https://github.com/svartajs/svarta
Typescript REST API framework
https://github.com/svartajs/svarta
backend esbuild file-based-routing framework rest rest-api typescript
Last synced: 8 months ago
JSON representation
Typescript REST API framework
- Host: GitHub
- URL: https://github.com/svartajs/svarta
- Owner: svartajs
- License: mit
- Created: 2022-12-04T22:08:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T02:07:46.000Z (over 1 year ago)
- Last Synced: 2025-02-04T03:19:06.481Z (over 1 year ago)
- Topics: backend, esbuild, file-based-routing, framework, rest, rest-api, typescript
- Language: TypeScript
- Homepage: https://svartajs.github.io
- Size: 770 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# svarta
[]()
[]()
[](https://github.com/svartajs/svarta/actions/workflows/ci.yml)




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](https://expressjs.com/) or [Koa](https://koajs.com/).
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
```bash
pnpm create svarta-app
yarn create svarta-app
npm create svarta-app
```
For development, run:
```bash
pnpm dev
yarn dev
npm run dev
```
For building, run:
```bash
pnpm build
yarn build
npm run build
```