Commit Graph

50 Commits

Author SHA1 Message Date
Adrien Marquès 1df830f97f
use models for api handler output instead of creating a copied struct 2020-03-29 17:30:36 +02:00
Adrien Marquès 56cd3ff26c
make service structs more readable 2020-03-29 17:24:35 +02:00
Adrien Marquès f31adca326
upgrade to v0.3.0 dynamic handler management 2020-03-29 17:03:53 +02:00
Adrien Marquès 32afe3ae05
fix user model json marshal 2020-03-29 17:03:22 +02:00
Adrien Marquès 73ef0570fd
make config fields exported in Go (capitalize) 2020-03-29 17:03:08 +02:00
Adrien Marquès 473e46ee19
update according to new api changes 2020-03-28 15:02:42 +01:00
Adrien Marquès fca88ccf82
bcupdate: aicra@0.3.0 new configuration and service examples : articles/users 2020-03-22 13:49:08 +01:00
Adrien Marquès fd0a920533
docker: use entrypoint instead of cmd 2020-03-09 19:16:27 +01:00
Adrien Marquès 7c3cfe4aa0 update readme according to new Dockerfile 2020-03-09 19:01:48 +01:00
Adrien Marquès 2ed811fd73
container executable shrinked with UPX 2020-03-09 18:59:04 +01:00
Adrien Marquès 2431a101ef
listen to every interface : no need to only listen on localhost in container 2020-03-09 18:58:49 +01:00
Adrien Marquès 0399f38f02
container from scratch (5M) 2020-03-09 18:40:01 +01:00
Adrien Marquès a2bd3a85f5
update modules 2020-03-08 16:34:00 +01:00
Adrien Marquès 74537bc0a8
update readme 2020-03-03 20:06:09 +01:00
Adrien Marquès a4b7d3050b
remove psql, use in-memory storage only (non thread-safe) 2020-03-03 20:02:15 +01:00
Adrien Marquès 2fa1f83345 ci: simplify 2019-05-04 00:08:38 +02:00
Adrien Marquès 9bd612c136 ci: create 2019-05-04 00:05:20 +02:00
Adrien Marquès 811cf89250 minmod 2019-05-02 21:31:49 +02:00
Adrien Marquès aaa4fe9adf use http.Method* instead of strings 2019-05-02 20:55:36 +02:00
Adrien Marquès cde7fa4798 implement postgres repositories 2019-05-02 20:50:58 +02:00
Adrien Marquès 80f372952c fix postgres auto close 2019-05-02 19:13:17 +02:00
Adrien Marquès 8b88eafe2d fix: semantic (comments) renaming : 'controller' to 'service', more explicit names 2019-05-02 07:54:06 +02:00
Adrien Marquès 0d8dc3f733 update according to changed interface 2019-05-01 18:54:36 +02:00
Adrien Marquès 41f197ef41 fix go.sum + add base dockerfile (without redis ; for now) 2019-05-01 17:25:57 +02:00
Adrien Marquès 1fb2a210a1 new repo from git.xdrm.io/go/aicra@v0.2.0 2019-05-01 16:42:17 +02:00
Adrien Marquès fc64e500f0 remove default types (moved into aicra) | fix new response/arguments api into 'aicra/api' package | use api.getters 2018-10-07 11:32:45 +02:00
Adrien Marquès 477f96fe5c fix docker command (expose port on the machine) 2018-10-02 10:53:45 +02:00
Adrien Marquès aa1af01174 update readme 2018-10-01 21:37:22 +02:00
Adrien Marquès 332d78badd rename err.BindArgument() to err.Put() 2018-10-01 21:21:33 +02:00
Adrien Marquès c813c5638b compliant to new 'aicra' config 2018-10-01 19:29:38 +02:00
Adrien Marquès c2c1835964 now implement plugins the right way 2018-10-01 15:15:02 +02:00
Adrien Marquès 6c364e9317 add meta-config 2018-10-01 12:29:25 +02:00
Adrien Marquès df585be566 update outdated 'controller' folder 2018-09-28 16:20:45 +02:00
Adrien Marquès d30dee5013 update according to go/aicra release 0.1.1 2018-09-28 16:16:28 +02:00
Adrien Marquès e66afdab80 update so that aicra.New() implements http.Handler 2018-07-11 19:08:09 +02:00
Adrien Marquès 0962196e00 token management is ok with middleware .. OK 2018-07-08 15:29:25 +02:00
Adrien Marquès ba8d73aa8c update structure 2018-07-08 10:00:17 +02:00
Adrien Marquès fbb06c99a1 update readme 2018-07-07 23:44:42 +02:00
Adrien Marquès 81dcfe03af merge 2018-07-07 23:41:25 +02:00
Adrien Marquès d5b9567663 fix middleware + add example for manifest scope 2018-07-07 23:35:29 +02:00
Adrien Marquès ee82f48ada update 2018-07-07 23:09:19 +02:00
Adrien Marquès b488f8969e main update 2018-07-07 18:13:08 +02:00
Adrien Marquès 93394c9499 rename repo 2018-07-05 19:19:39 +02:00
Adrien Marquès 3e3e4f796a rename repo 2018-07-05 19:18:25 +02:00
Adrien Marquès 4180b8dcb0 update port to 4242 2018-06-17 21:25:06 +02:00
Adrien Marquès 3fcb75e44d set 'redis' management in local package + add 'auth' controller (in manifest only) TODO 2018-06-17 21:24:47 +02:00
Adrien Marquès 3dfdece7e5 full CRUD resource (put for overriding, delete for ...) 2018-06-16 22:08:14 +02:00
Adrien Marquès 15eb1d5e81 tiny url working example 2018-06-16 18:04:28 +02:00
Adrien Marquès 425f333342 update repo location 2018-06-15 15:29:56 +02:00
Adrien Marquès 2ba1d6e2a1 first commit - half test with: +config +controllers -no_custom_type 2018-06-10 23:01:41 +02:00