Skip to content
melossoPublic

About

All-in-one .NET 11 backend featuring type-safe REST API, realtime updates, extensible forms and easy-to-use backend.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Baseport

Baseport

License - EUPL 1.2 .NET 11 SQLite

Meet Baseport: a .NET-first, single-binary backend designed to deliver sub-millisecond performance. It lets you define your tables in the console to instantly get a typed REST API, live updates, exposable web forms and an admin interface without writing any boilerplate. Point your mobile, web, or desktop app at it and build the rest.

Built on .NET 11, Baseport runs as one process over one SQLite database file. There is no database server to run alongside it, allowing for blazing-fast product development. Copy the binary to a server, back up the file. That is all it takes for your deployment. Reads stay in single-digit milliseconds at a quarter of a million rows.

Warning! In development. The database format and the API surface both still move between commits. Do not put production data in it.

Installation

Linux

curl -sSL https://raw.githubusercontent.com/melosso/baseport/main/Scripts/install.sh | bash

Windows

iwr https://raw.githubusercontent.com/melosso/baseport/main/Scripts/install.ps1 | iex

Then run baseport to start it, or baseport service to install it as a service.

Docker

docker compose up -d
docker compose logs baseport | grep "one-time admin password"

Browse to http://localhost:5000/_/admin and sign in with the one-time admin username and password the first start printed.

For Docker, define baseport as a shell function so the same commands work there:

baseport() {
  local compose="docker compose -f $HOME/baseport/docker-compose.yml"
  if [ "$1" = "update" ]; then
    $compose pull && $compose up -d
  else
    $compose exec baseport /app/Baseport "$@"
  fi
}

Documentation

Full documentation lives at melosso.github.io/baseport.

Your own instance also serves its OpenAPI document at /api/openapi.json and renders it at /docs.

Contributing

Contributions are greatly appreciated. For any changes beyond simple bug fixes, please open an issue first (use tag: enhancement) so we can align on the proposal and make sure it fits the project roadmap.

See Contributing for building and testing from source.

License

Licensed under the EUPL 1.2 license. See LICENSE for details.

About

All-in-one .NET 11 backend featuring type-safe REST API, realtime updates, extensible forms and easy-to-use backend.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages