Package Exports
- nodart
- nodart/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nodart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
TYPESCRIPT BACKEND FRAMEWORK
INSTALL APPLICATION
1. GIT
git clone https://github.com/nodart-labs/nodart-app.gitdownloads current version's application with full usage examples.
2. CLI
npx nodart create-appcreates base application structure with some usage examples.
RUN UNDER DEVELOPMENT SERVER
npm run devRUN UNDER PRODUCTION
npm run startCOMMAND LINE INTERFACE
System Commands:
npx nodart [command name] [command action (optional)] --[argument name (optional)] [argument value]App Commands:
node cmd [command name] [command action (optional)] --[argument name (optional)] [argument value]APPLICATION START EXAMPLE
import {App} from 'nodart'
const config = require('./config')
new App({...config}).init().then(app => app.serve(3000, 'http', '127.0.0.1'))