nitrots
v0.1.5
Published
A TypeScript Express framework with standardized responses and error handling
Maintainers
Readme
NitroTS
A TypeScript Express framework with standardized responses and error handling.
Overview
NitroTS provides a structured approach to building Express applications with TypeScript, offering standardized responses, error handling, and a streamlined development experience.
Installation
# Install globally to use the CLI
npm install -g nitrots
# Or install locally in your project
npm install nitrotsQuick Start
Create a new NitroTS project:
npx nitrots create my-app
cd my-app
npm install
npm run start:devFeatures
- TypeScript-first Express framework
- Standardized API responses
- Built-in error handling
- CLI for project scaffolding
- Development mode with hot reloading
Scripts
npm run start:dev- Start the development server with nodemonnpm run start:prod- Build and start the production servernpm run build- Build the projectnpm start- Start the built application
Project Structure
my-app/
├── src/
│ └── index.ts
├── package.json
└── tsconfig.jsonLicense
MIT
