This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"info":{"version":"0.0.1","title":"team-golf-backend-server"},"swagger":"2.0","paths":{"/api/auth/local/login":{"post":{"description":"Login","tags":["Authorization"],"produces":["application/json"],"parameters":[{"in":"body","name":"data","schema":{"type":"object","properties":{"email":{"description":"Email to use for login.","type":"string"},"password":{"description":"Password to use for login.","type":"string"}}}}],"responses":{"200":{"schema":{"type":"object","properties":{"token":{"type":"string","description":"JWT","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MiwiaWF0IjoxNTEwNzAzNTY5LCJleHAiOjE1MTA3ODk5Njl9.FjZwE6NelHnmVmCJGXObfBYXvQhythTfh0D36S8yJ5A"},"id":{"type":"integer","description":"The users id - this may change in the future","example":2}}}},"400":{"description":"Login error"}}}},"/api/auth/local/register":{"post":{"description":"Registration","tags":["Authorization"],"produces":["application/json"],"parameters":[{"in":"body","name":"data","schema":{"type":"object","properties":{"em |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Document</title> | |
| <style> | |
| .wrapper{ | |
| position: relative; |