create-o-town
v7.0.0
Published
Scaffold a new @o-town/server project
Maintainers
Readme
create-o-town
Official scaffolding CLI for @o-town/server projects.
Usage
npm create o-town@latestOr with a project name directly:
npm create o-town@latest my-appTemplates
| Template | Description |
|------------|--------------------------------------------------|
| minimal | Bare-bones server — just routes and nothing else |
| api | CRUD REST API with route structure |
| fullstack| Server + static file serving + HTML frontend |
Example
create-o-town — scaffold a new project
Project name [my-app]: my-project
Select a template:
1. Minimal Bare-bones server — just routes and nothing else
2. REST API CRUD API with route structure and error handling
3. Fullstack Server + static file serving + HTML frontend
✓ Created my-project (REST API template)
Next steps:
cd my-project
npm install
npm run dev
Network URL will be printed on startup 🚀License
MIT
