Quest Appのバックエンド、Rustで書く
quest-api's Introduction
quest-api's People
quest-api's Issues
DB関連のテストの修正
should_all_quests
テストの修正
cf: #13
DynamoDBへの完全移行
Challengeの達成/未達成をDBに保存する
Auth0を認証基盤に用いる
- 最終的にtoCに展開するならAuth0とかの認証基盤サービスを用いて認証周りを実装したい
- 初期リリースまでにできればok
軽く調べたことメモ
- APIドキュメント
- どのフローで認証をするべきか
- Authorization Code Flow を用いてログインを実装する方法
pathからuser_idを無くす
cf: #28 (comment)
LocalのDynamoDBへのseed dataの挿入
チェックポイントをAreaで表現する
現在、チェックポイントは点で表現されており、その点から周辺数十メートルが有効範囲として設定されている。
が、これだと「渋谷区にチェックインする」みたいなミッションが設定できないので、チェックポイントをAreaで設定できるようにする。
- Challengeデータにareaを追加する。areaデータは GeoJSON 形式の文字列
- 現在位置が area に含まれているかを判定するロジックをフロントに追加
HerokuからLambdaに移行する
APIをGraphQL化したい
フロントエンドとバックエンドの分離をより進めるためにAPIをGraphQL化したい。
パスワードハッシュをbcryptからargon2に変更する
現環境下ではargon2
が一番良さそうらしい
逆にbcryptは入力72bytesまでで使い方によっては危険らしい
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#bcrypt
要らないアトリビュートを削除する
- Quest
- Difficulty
- price
- num_participate
- num_clear
は要らないので削除したい
UserEntityから参加クエスト一覧と達成チャレンジ一覧を外す
Challengeの画像をDBに保存する
カラーの画像とモノクロの画像両方を保存する
Extractorで認証を行う
cf: #28 (comment)
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.