Simple articles REST API using the aicra engine
Go to file
Adrien Marquès e66afdab80 update so that aicra.New() implements http.Handler 2018-07-11 19:08:09 +02:00
controller update so that aicra.New() implements http.Handler 2018-07-11 19:08:09 +02:00
db token management is ok with middleware .. OK 2018-07-08 15:29:25 +02:00
middleware/1-auth token management is ok with middleware .. OK 2018-07-08 15:29:25 +02:00
.gitignore update 2018-07-07 23:09:19 +02:00
README.md update readme 2018-07-07 23:44:42 +02:00
main.go update so that aicra.New() implements http.Handler 2018-07-11 19:08:09 +02:00
manifest.json token management is ok with middleware .. OK 2018-07-08 15:29:25 +02:00

README.md

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.

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