atami-server's People
Forkers
kiikurageatami-server's Issues
テスト環境準備
express.jsの導入
GIFアニメがサイズ変更するとアニメじゃなくなる
外部向けのアカウント管理ページを作る
- アカウント作成ページ
- スタンプ管理ページ
アカウント機能の設計
POST /image の実装
URL空っぽでもPOST image送れちゃう
画像をキャッシュする
最適化の前段階として、まずキャッシュを行う
画像のサイズ指定に対応する
コードの整備
この後、chrome向けにwebpの生成、および画像解像度別のキャッシュ生成で、非常にややこしいことになると思うのでコード整理する
あいまい検索のサポート
内部向けのアカウント管理ページをつくる
メタデータをDBに保存
- 作成日
- 論理削除
manage.htmlでtag単位の削除を可能にする
Manageのリストの表示を改善
- 作成日の降順
- 最新20件以外も表示
画像の個数が多いタグのランキング
20件くらい
追加されたイベントをフック
slackとかに投げたりしたい
追加、変更、削除などの変化をわかるようにしたい
キャッシュのパスがバグってる
データベース構造の刷新
Loaderの実装
androidは、画像の読み込みなど、非同期なストリーム処理は、Loaderというパターンで書くらしい(by おーさわさん)
CI導入
productionのentry_pointがおかしい
/api/v2
とかいう謎のアドレス
mongoDBの導入
タブの下部に選択中のバーを入れる
多分白
wikiの整備
載っていないAPIをまとめる
画像の最適化
サイズ削減
リクエスト元のエージェントに応じた画質調整
manageページの改善
使いやすくする
GET /image/search の実装
send -> sendStatusに変更
sendは非推奨らしい
サービスの紹介ページを作る
- App store, Google Play, Chrome extensionへのリンクをそれぞれ入れる
- アカウント管理ページヘのリンクを入れる
- 使用例を示す。
- サイト上では、実際にChrome extensionと同等の機能を使えるようにする
プロキシする
する
自動デプロイ
webpで配信する
Chrome向けにはWebpで配信する
ページング処理の実装
スタンプ検索系のAPIで
-
from=xxxxxxxxxxxxxxxxxx
created
がxxxxxxxxxxxxxxx
より大きい データのみを対象とする。
デフォルトは0
-
limit=xx
最大
xx
個までレスポンスに含める
デフォルトは20
expressとmongoをつなぐ
エントリポイントでバージョニング
/api/v1
以下にする。
proxiedUrlのエントリポイント修正
/
-> /api/v1
プロキシする
httpsに関するiOSのセキュリティ回避
静的ファイルが環境間で共存してしまっている
分ける
テスト書く
manage.htmlの削除がおかしい
削除が反映されない
タグを有効にする
タグ関連のCRUDの実装
GET /image/:image_id/tag
POST /image/:image_id/tag?text="newTag"
DELETE /image/:image_id/tag?text="newTag"
nginxの導入
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.