This is the web frontend for Ultralist pro.
It is based upon create-react-app
.
yarn
yarn start
If you do not have an account
- head to https://api.ultralist.io/cli_auth
- set
cli_auth=true
in backend session - redirect to
/signup?cli_auth=true
page - oauth flow to backend, web keys
- from backend, redirect to frontend (
/auth
). pass web token,cli_auth
, andsignup
codes. - frontend requests
cli_token
via an authenticated request to api. - frontend redirects to CLI, passing
cli_token
. - CLI redirects back to frontend (
/todolist?cli_auth_completed=true
). - frontend displays message saying auth is complete, and they are signed up.
If you have an account but are not logged in
- head to https://api.ultralist.io/cli_auth
- set
cli_auth=true
in backend session - redirect to
/signup?cli_auth=true
page - oauth flow to backend, web keys
- from backend, redirect to frontend (
/auth
). pass web token,cli_auth
, andsignup
codes. - frontend responds to
cli_auth
param and requestscli_token
via an authenticated request to api. - frontend redirects to CLI, passing
cli_token
. - CLI redirects back to frontend (
todolist?cli_auth_completed=true
). - frontend displays message saying auth is complete.
If you are logged in
- head to https://api.ultralist.io/cli_auth to set
cli_auth
session flag (to be used later) - set
cli_auth=true
in backend session - redirect to
/signup?cli_auth=true
page - frontend responds to
cli_auth
param and requestscli_token
via an authenticated request to api. - frontend redirects to CLI, passing
cli_token
. - CLI redirects back to frontend (
todolist?cli_auth_completed=true
). frontend displays message saying auth is complete.
- Mutation events for both todo items and todo lists occur as changes to a model
- models are stored in context
- speaking to backend occurs via event cache
- event cache gets pushed when online
- models are aware of event cache?
Event cache
TodoList model