Feat/firebase login
making a test, to see if it is possible to create web components that communicate with firebase.
One more (see #31 (closed) Firebase + web components) nice list with things to tick off:
Objectives:
-
login -
register -
logout -
show user account data -
update user email -
verify user email -
update password -
forgot password -
delete account -
create job -
list user jobs -
list jobs for a tag (featured-jobs) -
show one job on a /job/?id=job-id
url -
edit a job on its url -
publish the job, so it appears on the homepage and content page -
delete a job -
firebase-app, take config for production & config for staging instances -
fix item-card, for items non joblist <- refactor component -
list job-item tags
Good to have:
-
? should not delete a published job; unpublish first? -
auth-status, small widget to show the current user status if any (to put next to /account nav-item) -
auth-flow component, that reuses login/register/user/logout
Can be nayce:
-
notification system; fixed visual cards to notify the user like a console log does. -
async buttons; if action is a promise, disable btn and render its loading state. -> Hard because we're event based -
show quick actions on a job in a list (publish, delete edit) -
component to not show "false state"; if fetching data, do not show "no data". tough -
list all tags available across all jobs. Cannot be done without db change (aka, adding /tags table )? -
position job on the map -
convert address to geopoint with osm
Edited by 4www