Tiny URL example implementation in Go with the 🔥 Aicra framework.
Go to file
Adrien Marquès c813c5638b compliant to new 'aicra' config 2018-10-01 19:29:38 +02:00
controller.plugin compliant to new 'aicra' config 2018-10-01 19:29:38 +02:00
db token management is ok with middleware .. OK 2018-07-08 15:29:25 +02:00
middleware.plugin/1-auth compliant to new 'aicra' config 2018-10-01 19:29:38 +02:00
type compliant to new 'aicra' config 2018-10-01 19:29:38 +02:00
.gitignore update 2018-07-07 23:09:19 +02:00
README.md update outdated 'controller' folder 2018-09-28 16:20:45 +02:00
aicra.json compliant to new 'aicra' config 2018-10-01 19:29:38 +02:00
api.json compliant to new 'aicra' config 2018-10-01 19:29:38 +02:00
main.go compliant to new 'aicra' config 2018-10-01 19:29:38 +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 controller 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 ./main.go