Skip to content

Commit 916512c

Browse files
author
Jhonny Cohen
committed
initial Commit
1 parent 56661ad commit 916512c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+6580
-185
lines changed

.idea/deployment.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 298 additions & 176 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/Api/V1/Controllers/AuthController.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,15 @@ public function login(Request $request)
5959

6060

6161

62-
62+
/**
63+
* Register user
64+
*
65+
* Register a new user with a 'name', 'email' and `password`.
66+
*
67+
* @Post("/")
68+
* @Versions({"v1"})
69+
* @Request("username=foo&password=bar", contentType="application/x-www-form-urlencoded")
70+
*/
6371
public function signup(Request $request)
6472
{
6573
$signupFields = ['name', 'email', 'password'];

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/docs/css/fonts/FontAwesome.otf

61.4 KB
Binary file not shown.
37.3 KB
Binary file not shown.

public/docs/css/fonts/fontawesome-webfont.svg

Lines changed: 414 additions & 0 deletions
Loading
78.8 KB
Binary file not shown.
43.4 KB
Binary file not shown.

public/docs/css/style.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/docs/images/logo.png

4.99 KB
Loading

public/docs/images/navbar.png

96 Bytes
Loading

public/docs/index.html

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
7+
<title>API Reference</title>
8+
9+
<link rel="stylesheet" href="css/style.css" />
10+
<script src="js/all.js"></script>
11+
12+
13+
<script>
14+
$(function() {
15+
setupLanguages(["bash","javascript"]);
16+
});
17+
</script>
18+
</head>
19+
20+
<body class="">
21+
<a href="#" id="nav-button">
22+
<span>
23+
NAV
24+
<img src="images/navbar.png" />
25+
</span>
26+
</a>
27+
<div class="tocify-wrapper">
28+
<img src="images/logo.png" />
29+
<div class="lang-selector">
30+
<a href="#" data-language-name="bash">bash</a>
31+
<a href="#" data-language-name="javascript">javascript</a>
32+
</div>
33+
<div class="search">
34+
<input type="text" class="search" id="input-search" placeholder="Search">
35+
</div>
36+
<ul class="search-results"></ul>
37+
<div id="toc">
38+
</div>
39+
<ul class="toc-footer">
40+
<li><a href='http://github.com/mpociot/documentarian'>Documentation Powered by Documentarian</a></li>
41+
</ul>
42+
</div>
43+
<div class="page-wrapper">
44+
<div class="dark-box"></div>
45+
<div class="content">
46+
<h1>Info</h1>
47+
<p>Welcome to the generated API reference.</p>
48+
<h1>Available routes</h1>
49+
</div>
50+
<div class="dark-box">
51+
<div class="lang-selector">
52+
<a href="#" data-language-name="bash">bash</a>
53+
<a href="#" data-language-name="javascript">javascript</a>
54+
</div>
55+
</div>
56+
</div>
57+
</body>
58+
</html>

public/docs/js/all.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/docs/source/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/_tmp/
2+
/node_modules/
4.99 KB
Loading
96 Bytes
Loading

0 commit comments

Comments
 (0)