TutorLoom
The learning platform for companies, colleges and training institutes. Free and open source, with an Enterprise edition.
シンプルな中国語単語帳 Web アプリ
Translation pending
EducationJavaScript · HTMLGitHub @haya256OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗シンプルな中国語単語帳 Web アプリです。
asia-northeast1 推奨)Firebase Console の Authentication → ユーザー → ユーザーを追加 からメールアドレスとパスワードを登録してください。
app.js の先頭にある firebaseConfig をご自身の Firebase プロジェクトの設定値に書き換えてください。
Firebase の API キーについて Firebase の API キーは、一般的な API キーとは異なり、公開しても問題ない設計になっています。 これは Firebase プロジェクトを「識別する」ためのものであり、「認証する」ためのものではありません。 データへのアクセス制御は Firestore のセキュリティルールで行うため、API キーが第三者に知られても、不正なデータ操作はセキュリティルールによって防がれます。 詳細は Firebase 公式ドキュメント をご参照ください。
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_PROJECT_ID.firebaseapp.com",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_PROJECT_ID.firebasestorage.app",
messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
appId: "YOUR_APP_ID"
};
firestore.rules の uid をご自身のユーザーの uid(Authentication → ユーザー で確認できます)に書き換え、デプロイしてください:
firebase deploy --only firestore:rules
単語一覧は誰でも閲覧でき、書き込みはその uid のユーザーだけに制限されます。
また、第三者が勝手にアカウントを作れないよう、Authentication → 設定 → ユーザー アクション で「作成(登録)を有効にする」をオフにしておくことをおすすめします。
python3 -m http.server 8080
ブラウザで http://localhost:8080 を開く。
npm install -g firebase-tools
firebase login
firebase init hosting
firebase deploy --only hosting
MIT