A small web app to improve my english vocabulary.
Based on vue-cli 3 and follow his file structure/conventions.
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:
Available commands:
npm run serve
: start a mini HTTP servernpm run build
build for productionnpm run lint
: lint codenpm test
: run unit testsMore information in the official documentation
This app is hosted by Github Pages and the Deployment is fulfilled by Travis CI (lint+tests must be green).
Icons made by Flat Icons.