Commit Graph

44 Commits

Author SHA1 Message Date
5a48f62ce2
gofmt 2017-11-17 11:41:18 +01:00
9016443409
Moved getting authors from a book to a seperate function
+ Implemented getting quantity in book list
2017-11-17 11:40:43 +01:00
a3b0d1d94b
Fixed book not found when quantity did not exist
All checks were successful
the build was successful
2017-11-17 11:26:24 +01:00
fb305e5b39
Implemented book quantity insert when a book is inserted
All checks were successful
the build was successful
+ Books can now either send through a direct json payload or via one form value
+ lint & gofmt
2017-11-16 19:07:32 +01:00
19852d0b6a
Moved show sql query setting to config
All checks were successful
the build was successful
2017-11-16 13:09:30 +01:00
df0ad4adeb
Moved interface setting to config 2017-11-16 13:04:45 +01:00
c98c593307
Moved database connection to configfile 2017-11-16 12:57:08 +01:00
9630e8fda2
Started implementing book quantities
All checks were successful
the build was successful
2017-11-16 12:51:23 +01:00
4715459d95
Added method to add first user on first run 2017-11-16 12:28:27 +01:00
0e814d026e
Fixed Lint + gofmt 2017-11-15 16:16:44 +01:00
f48de8e75f
Added dynamically get books status 2017-11-15 16:13:47 +01:00
cb3a37b483
Started implementing of inserting new books
All checks were successful
the build was successful
2017-11-14 16:33:01 +01:00
5ba3ca342b
pointer fix
All checks were successful
the build was successful
2017-11-08 17:14:51 +01:00
ed1cd4be11
Fixed lint + gofmt
Some checks failed
the build failed
2017-11-08 17:12:05 +01:00
b8738e9b52
Implemented method to accept user login as json 2017-11-08 17:06:06 +01:00
07c9fcdea1
Added basic frontend structure 2017-11-08 14:42:43 +01:00
14b7a42d32
Fixed Build
All checks were successful
the build was successful
2017-11-08 10:57:38 +01:00
64dd0ce2d0
Fixed lint
Some checks failed
the build failed
2017-11-08 10:55:17 +01:00
b4b0b737a3
gofmt 2017-11-07 16:35:10 +01:00
55038bbb2b Fixed showing of author ids
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 21:47:50 +02:00
9644f2304f Implemented returning of newly inserted publisher
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 21:45:31 +02:00
0e0c403d57 Improved inserting of new book
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 21:42:16 +02:00
6ba44a5986 Added method to update a publisher
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 20:27:05 +02:00
63e93036a1 Added method to update an author
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 20:22:31 +02:00
cfcf4ac365 Insert methods now return the inserted object
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 18:17:51 +02:00
a78ac5d7da Added methods to add and delete a publisher
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 18:06:51 +02:00
500007bdae Added method to add and delete an author
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 17:20:56 +02:00
57b6997267 implemented method to delete a book
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 22:47:54 +02:00
2e360becca implemented authors and publishers search
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 21:58:55 +02:00
38fdf9cbd8 implemented books search
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 21:40:14 +02:00
ce6c02a1cc Implemented Publisher List functions
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 18:23:52 +02:00
6ce0c553d4 Implemented Author lookup
+ book lookup optimization

Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 18:11:09 +02:00
fed91b9e8a Added lookup one single book
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 17:14:51 +02:00
167ba086d7 Added lookup one single book
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 17:01:33 +02:00
2c913f99d5 Added more details to books list
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 12:06:34 +02:00
f8a6b57c33 Implemented new models
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 11:20:16 +02:00
c5592ad45b Implemented user via db
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 11:09:26 +02:00
08b14a71a9 added config file
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 10:40:36 +02:00
1249987e5f added comments
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-10 09:47:05 +02:00
718f6bf6bb Added basic insert with auth
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-09 21:06:40 +02:00
d29b619418 Struct definition
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-09 18:29:46 +02:00
d26df6c160 Proper Error Handling
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-09 18:29:09 +02:00
9e6bcb12be basic list
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-09 18:20:16 +02:00
a91fd9c204 Added routes 2017-10-09 14:29:21 +02:00