SERSI

Kickstart modern apps in seconds. Your stacks, Your rules.

Usage

🚀 Commands

  1. create Generate a new full stack project with optional flags for customization.
sersi create

this generates a wizard to create a full stack application. If you would like to create either a frontend or just a backend, use the subcommands below.

subcommands:

  • backend Scaffold a backend project with optional flags for customization.
sersi create backend [flags]

Available Flags for backend:

FlagTypeDescriptionOptional
--namestringName of the projectYes
--langstringLanguage to use (ts, nodejs, go, python)Yes
--frameworkstringFramework to use (fastapi, express, gin)Yes
--databasestringDatabase to use (postgres, mongodb)Yes

Example:

sersi create backend --name my-backend --framework fastapi --database postgresql --lang py
  • frontend Scaffold a frontend project with optional flags for customization.
sersi create frontend [flags]

Available Flags for frontend:

FlagTypeDescriptionOptional
--namestringName of the projectYes
--frameworkstringFramework to use (react, vue, vanilla)Yes
--cssstringCSS framework (tailwind, sass, bootstrap, css)Yes
--langstringLanguage to use (ts, js)Yes

Example:

sersi create frontend --name my-site --framework vue --css bootstrap --lang js
  1. build Build a project from a YAML configuration file.
sersi build -f path/to/sersi.yaml
FlagRequiredDescription
-fPath to the YAML config file

Example sersi.yaml

name: sersi-app
structure: polyrepos
scaffold:
  frontend:
    framework: react
    css: tailwind
    language: typescript
  backend:
    language: go
    framework: gin
    database: postgresql

YAML Reference

These are the currently supported values for each flag & field in sersi.yaml:

frontend

framework

  • react
  • svelte
  • vue
  • vanilla

css

  • tailwind
  • bootstrap
  • css

language

  • typescript or ts
  • javascript or js

backend

language

  • typescript or ts
  • javascript or js
  • go
  • python

framework

  • express
  • gin (Go)
  • chi (Go)
  • fastapi (Python)

database

  • postgres (coming soon)
  • mongodb (coming soon)
  • none
  1. version Show the version of the CLI.
sersi version
  1. help Display help information for any command.
sersi help
sersi help create

🗒 Notes

  • Frameworks and languages must be among the supported options.
  • You can always override parts of a YAML config with flags when using build.