FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

init project set up · mike2151/Hack-REST-API-Example@1f55e2f · GitHub

Repository navigation

Commit 1f55e2f

Browse files
committed
init project set up
1 parent 7ffc01e commit 1f55e2f

7 files changed

Lines changed: 241 additions & 1 deletion

File tree

‎.gitignore‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.DS_STORE
2+
_site/
3+
*.swo
4+
*.swp
5+
_site
6+
.sass-cache
7+
*.psd
8+
*~
9+
10+
vendor/*

‎.hhconfig‎

Whitespace-only changes.

‎README.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
# Hack-REST-API-Example
2-
Example of a REST API For Hack Lang
2+
Example of a REST API For Hack Lang using [Hack Router](https://github.com/hhvm/hack-router)
3+
4+
# Running The Server
5+
### Install dependencies (Using [Composer](https://getcomposer.org/)):
6+
`composer install`
7+
8+
### Set the server settings:

‎composer.json‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"require": {
3+
"hhvm/hsl": "^4.40",
4+
"hhvm/hhvm-autoload": "^3.0",
5+
"facebook/hack-router": "^0.19.5"
6+
}
7+
}

‎composer.lock‎

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

‎hh_autoload.json‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"roots": [
3+
"src/"
4+
],
5+
"devRoots": [
6+
"tests/"
7+
]
8+
}

‎router.hack‎

Whitespace-only changes.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL