smavros
8216767722
Changes in the user package:
...
- Moves `POST /users` to the users endpoint group where
authentication is required
- Renames userLogin to loginRequest
- Adds userMethods.go source file to the package user
- Adds type User in the user package which just wrapps the type
common.User so methods can be added to the type
- Adds prototypes of methods for setting/validating password and
updating type User's data
2019-05-20 12:04:37 +02:00
smavros
ab0d8dea8b
Work in progress: /authenticate endpoint handler
2019-05-18 18:54:58 +02:00
smavros
a7f15e79fe
First try for Authentication middleware
2019-05-16 15:39:48 +02:00
Sonja Happ
2e7475a26b
- add first draft of code for other routes (not complete!)
...
- some new endpoints
- some new DB queries
- some new serializers
2019-05-09 17:02:24 +02:00
Sonja Happ
83e8563526
use new folder structure for implementation of routes
2019-05-09 11:50:18 +02:00
Sonja Happ
eb19f3e133
Fix includes of gin-gonic
2019-04-30 11:12:24 +02:00
smavros
d5fb904772
Adds gin-gonic and initial routing
2019-04-29 00:00:49 +02:00
smavros
a7179180ff
Changes in database handling in package common:
...
- CreateDB() is now InitDB()
- Added Dummy*() functions for setting up a dummy database (named
testvillasdb) that will be used by the tests.
2019-04-12 14:14:23 +02:00
Sonja Happ
91f52a409b
move all data structs to one file to avoid circular dependencies; use all data structs in start.go for testing compilation; dependency updates
2019-04-03 14:54:55 +02:00
smavros
afe1a33893
Added go.mod for Modules and Packages:
...
- Backend uses start.go in root for entry
2019-04-02 15:03:18 +02:00