Skip to content

Packages

The Sodacore framework is written as a bunch of packages, which splits the code up so you only have to install what you need.

As of right now there are a range of packages dealing with i18n, HTTP, WebSockets, Prisma, Discord and more.

Available Packages

PackageDescription
@sodacore/registryThis package provides a centralized registry for all Sodacore services and components.
@sodacore/diThis package provides a dependency injection system across the system using a global container (the registry).
@sodacore/coreThis package provides the main application logic and entry point alongside all of the core features.
@sodacore/httpThis package provides a HTTP server implementation using decorators for routing with some sensible defaults.
@sodacore/wsThis package provides a WebSocket server implementation that attaches to the HTTP server.
@sodacore/discordThis package provides a programmable Discord bot, and built-in OAuth2 features for SSO with Discord.
@sodacore/prismaThis package provides a simple Prisma client wrapper for database access that can be injected.
@sodacore/i18nThis package provides support for translations and automatic transformers for the HTTP client using the user's accepted locale.
@sodacore/cliThis package provides a sodacore command line interface for managing and interacting with Sodacore applications.
@sodacore/createThis package provides a create command for generating new Sodacore applications and components.

Released under the Apache-2.0 License.