web-notifications
Website that lets an admin send a message to all its users. Minimum viable product-ish.
yarn # install deps
yarn run client # run webpack-dev-server for client side
yarn run server # run node api server
WANTED FEATURES
- Push API - service workers (https://developer.mozilla.org/en-US/docs/Web/API/Push_API)
- Backup solution for sending notifications to all users with socket.io
- Refresh homepage when notification is sent to all users
- Add article posts
- Edit article posts (implemented in server only)
- Delete article posts (implemented in server only)
- More detailed PostDetail page
- Full-screen "hero" article on homepage
- Markdown editor for creating article posts
- Login flow with protected routes
- Server-side rendering
TECH
- Routing with react-router (https://github.com/ReactTraining/react-router)
- Redux state management (https://github.com/reactjs/redux)
- Routing synced with redux store (https://github.com/reactjs/react-router-redux)
- React front-end with styled-components css (https://styled-components.com/ , https://facebook.github.io/react/)
- Atomic Design project structure (http://bradfrost.com/blog/post/atomic-web-design/)
- Manage form state with redux-form (http://redux-form.com/6.4.3/)
- Send and recieve redux actions to and from server (https://github.com/itaylor/redux-socket.io)
- Handle async actions with redux sagas instead of thunk (https://redux-saga.github.io/redux-saga/)
ISSUES
- Fix issue where createPost promise never completes so createPost form doesn't have to be reset every time