Maincloud is now LIVE! Get Maincloud Energy 90% off until we run out!

Getting Started

To develop SpacetimeDB databases locally, you will need to run the Standalone version of the server.

  1. Install the SpacetimeDB CLI (Command Line Interface)
  2. Run the start command:
spacetime start 

The server listens on port 3000 by default, customized via --listen-addr.

💡 Standalone mode will run in the foreground. ⚠️ SSL is not supported in standalone mode.

What's Next?

Log in to SpacetimeDB

SpacetimeDB authenticates users using a GitHub login, to prevent unauthorized access (e.g. somebody else publishing over your module). Log in to SpacetimeDB using:

spacetime login 

This will open a browser and ask you to log in via GitHub. If you forget this step, any commands that require login (like spacetime publish) will ask you to log in when you run them.

You are now ready to start developing SpacetimeDB modules. See below for a quickstart guide for both client and server (module) languages/frameworks.

Server (Module)

Note: Rust is roughly 2x faster than C#

Client

Edit On Github