maxpou / dictionary-game

:notebook_with_decorative_cover: A dictionary mini game
https://maxpou.github.io/dictionary-game/
MIT License
2 stars 0 forks source link
dictionary-game firebase jamstack semantic-ui vuejs2

Dictionary Game

Build Status Standard - JavaScript Style Guide tested with jest Greenkeeper badge

A small web app to improve my english vocabulary.

screenshots

Go to the application

What's Included:

Based on vue-cli 3 and follow his file structure/conventions.

Firebase

This application use Firebase for Authentication and Data storage.
In this project, I use 2 project to separate environments:

API ENDPOINTS Environment
https://translate-2f28d.firebaseio.com/ Production
https://translate-test-aee8f.firebaseio.com/ Dev / Test

Database access rules:

{
  "rules": {
    "users": {
      "$uid": {
        ".read": "$uid === auth.uid",
        ".write": "$uid === auth.uid"
      }
    }
  }
}

Data structure:

├── users/
│   └── {userID}/
|       └── words/
│           ├── {wordId}/
│               // example of a word:
│               {
│                 content: "a word",
│                 enabled: true,
│                 translation: "a word translation"
│               }

Notes:

Dev tools

Available commands:

More information in the official documentation

Deployment

This app is hosted by Github Pages and the Deployment is fulfilled by Travis CI (lint+tests must be green).

Icons

Icons made by Flat Icons.