moved the frontend to public folder

This commit is contained in:
Aqeeb Imtiaz Harun
2018-08-08 12:35:35 +08:00
parent 398cba3d68
commit 3f4b37b0be
84 changed files with 34 additions and 9 deletions
+33 -8
View File
@@ -1,9 +1,34 @@
{
"users": [
{ "id": 1, "phone": "01234567891", "password": "123456789" }
],
"comments": [
{ "id": 1, "body": "some comment", "postId": 1 }
],
"profile": { "name": "typicode" }
}
"users": [
{
"id": 1,
"phone": "01234567891",
"password": "123456789",
"token": "abcd1234token"
}
],
"login": [
{
"id": 1,
"phone": "01234567891",
"password": "123456789",
"token": "abcd1234token"
},
{
"id": 2
},
{
"id": 3
}
],
"comments": [
{
"id": 1,
"body": "some comment",
"postId": 1
}
],
"profile": {
"name": "typicode"
}
}

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Before

Width:  |  Height:  |  Size: 434 KiB

After

Width:  |  Height:  |  Size: 434 KiB

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 248 KiB

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

@@ -72,7 +72,7 @@
$('#login').click(function() {
$.ajax({
type: "POST",
url: "api/login",
url: "/login",
data: {
phone: $('#phone').val(),
password: $('#password').val()
View File