articles-api/README.md

23 lines
634 B
Markdown

# xdrm go framework
### 1. Setup
All commands above must be launched from the root of this repository.
### 2. Build type checkers, controllers, middlewares
Type checkers, controllers and middlewares have to be built before using them. A build command exists for that purpose.
```bash
aicra [options] .
```
**Options**
- If you want the *controller* folder different than `root` define it with `-c`
- If you want the *middleware* folder different than `middleware` define it with `-m`
- If you want the *type checker* folder different than `types` define it with `-t`
### 3. Launch the api
```
$ go run ./cmd/test/main.go
```