A Deno SaaSKit fork using Danet framework for the API.
- Fresh's frontend with No build step
- Deno's built-in formatter, linter and test runner and TypeScript support.
- Auto-generated OpenAPI documentation from code
- Frontend and Business Logic uncoupling
- Registration/Login with Oauth2 (google, discord), easily add your own provider
- Registration/Login with email/password
- Multiple DB providers, choose between KV, MongoDB or InMemory DB simply by modifying an environment variable
- Business Logic fully unit tested
- API and all DB Adapters tested via e2e tests
- Fresh as the web framework and Tailwind CSS as the CSS framework.
- Subscription/Payment feature
- CI/CD to deploy back+front on Deno Deploy (when deno_emit bug will be fixed, see issue, or when deno deploy handle emitDecoratorMetadata compiler options)
Being built with Danet, we recommend that you use
our CLI to run it with filewatch using
danet develop
If you don't want to use your CLI, then simply run
deno task back:start
from root directory or deno task start
from back
directory.
This SAASKit handle InMemory, MongoDB and KV as database providers. Simply set
DB_PROVIDER=MEMORY
or DB_PROVIDER=MONGO
or DB_PROVIDER=KV
in your .env
or environment. No code change required !
MongoDB is the only provider that require a special setup, i.e, having a MongoDB database running either locally (documentation here) or on a remote server/cloud provider, such as MongoDB Atlas which has an awesome free tier.
We provide an extensive documentation that teaches everything needed to use Danet here : https://docs.danet.land/. It is available in English and French, with few pages translated to Portuguese.
Simply run deno task front:start
from root directory or deno task start
from
front
directory.