This project is crafted to help users report the progress of their projects on weekly meetings. Instead of adjusting schedule diagram on slides every week, I want to offer a simpler and more accurate way to accomplish the progress visualization.
The project is using React.js as the frontend framework, and firebase realtime database plays the role of the backend (BaaS).
Demo
Interface
Result
Download Dependencies with npm.
npm install
Run the bellow scripts to package javascript and scss into assets.
# Production
npm run build
# Development
npm run watch
Because we are using UglifyJs on production mode, the file name of bundle file is slightly different. Open ./public/index.html
, then modify src="./assets/bundle.js"
to src="./assets/bundle.min.js"
.
Firebase
Remember to enable providers and add domains for your app in your firebase console under "Authentication > SIGN-IN METHOD" tag.
Modify database access rules like below
{
"rules": {
"schedule":{
"$uid":{
".read": "auth !== null && auth.uid == $uid",
".write": "auth !== null && auth.uid == $uid",
}
},
"users":{
"$uid":{
".read": "auth != null && auth.uid ==$uid",
".write": "auth !== null && auth.uid == $uid",
}
},
}
}