https://github.com/ztrehagem/summer2016
https://github.com/ztrehagem/summer2016
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ztrehagem/summer2016
- Owner: ztrehagem
- Created: 2016-06-25T05:20:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-18T04:30:46.000Z (almost 9 years ago)
- Last Synced: 2025-01-28T04:29:16.886Z (4 months ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 環境構築
- npmをインストール(無ければ)
```sh
$ brew install npm
```- gulpをインストール(無ければ)
```sh
$ npm install -g gulp
```- プロージェクトルートで
```sh
$ npm install
```---
# 開発時に使うコマンド
- ソースファイルをコンパイル
- 全部一回コンパイル```sh
$ gulp
```- ファイルの変更を監視して自動コンパイル (\^Cで終了)
```sh
$ gulp watch
```もしくは
```sh
$ gulp w
```- サーバー起動 (\^Cで終了)
```sh
$ gulp sever
```もしくは
```sh
$ gulp s
```---
# APIs
- `GET` `/api/student/list.json`
- `POST` `/api/student/update.json`
- `{"id":id, "location":location}`
- `GET` `/api/location/list.json`- APIドキュメントあるらしい