lux-framework
Version:
Build scalable, Node.js-powered REST APIs with almost no code.
39 lines (27 loc) • 512 B
Markdown
### Installation
```bash
npm install -g lux-framework
```
### Creating Your First Project
Use the new command to create your first project.
```bash
lux new <app-name>
```
### Generators
Lux allows you to use the CLI to generate boilerplate for the following types:
- `model`
- `controller`
- `serializer`
- `middleware`
- `migration`
- `resource`
- `util`
```bash
lux generate <type> <name> [attrs...]
```
### Running
To run your application use the serve command.
```bash
cd <app-name>
lux serve
```