├── .gitignore ├── .wrangler └── deploy │ └── config.json ├── LICENSE ├── README.md ├── eslint.config.js ├── index.html ├── package.json ├── src ├── react-app │ ├── App.tsx │ ├── components │ │ ├── CommentModal.jsx │ │ ├── CommentModal.module.css │ │ └── ProtectedRoute.jsx │ ├── index.css │ ├── main.tsx │ ├── router │ │ └── index.jsx │ ├── utils │ │ ├── api.js │ │ ├── authContext.jsx │ │ ├── authUtils.js │ │ └── index.js │ ├── views │ │ ├── create.jsx │ │ ├── create.module.css │ │ ├── createAccount.jsx │ │ ├── createAccount.module.css │ │ ├── entry.jsx │ │ ├── entry.module.css │ │ ├── login.jsx │ │ └── login.module.css │ └── vite-env.d.ts └── worker │ ├── index.js │ └── utils │ └── index.js ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json ├── tsconfig.worker.json ├── vite.config.ts ├── worker-configuration.d.ts └── wrangler.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/.gitignore -------------------------------------------------------------------------------- /.wrangler/deploy/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/.wrangler/deploy/config.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/eslint.config.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/package.json -------------------------------------------------------------------------------- /src/react-app/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/App.tsx -------------------------------------------------------------------------------- /src/react-app/components/CommentModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/components/CommentModal.jsx -------------------------------------------------------------------------------- /src/react-app/components/CommentModal.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/components/CommentModal.module.css -------------------------------------------------------------------------------- /src/react-app/components/ProtectedRoute.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/components/ProtectedRoute.jsx -------------------------------------------------------------------------------- /src/react-app/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/index.css -------------------------------------------------------------------------------- /src/react-app/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/main.tsx -------------------------------------------------------------------------------- /src/react-app/router/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/router/index.jsx -------------------------------------------------------------------------------- /src/react-app/utils/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/utils/api.js -------------------------------------------------------------------------------- /src/react-app/utils/authContext.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/utils/authContext.jsx -------------------------------------------------------------------------------- /src/react-app/utils/authUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/utils/authUtils.js -------------------------------------------------------------------------------- /src/react-app/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/utils/index.js -------------------------------------------------------------------------------- /src/react-app/views/create.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/views/create.jsx -------------------------------------------------------------------------------- /src/react-app/views/create.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/views/create.module.css -------------------------------------------------------------------------------- /src/react-app/views/createAccount.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/views/createAccount.jsx -------------------------------------------------------------------------------- /src/react-app/views/createAccount.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/views/createAccount.module.css -------------------------------------------------------------------------------- /src/react-app/views/entry.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/views/entry.jsx -------------------------------------------------------------------------------- /src/react-app/views/entry.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/views/entry.module.css -------------------------------------------------------------------------------- /src/react-app/views/login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/views/login.jsx -------------------------------------------------------------------------------- /src/react-app/views/login.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/react-app/views/login.module.css -------------------------------------------------------------------------------- /src/react-app/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/worker/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/worker/index.js -------------------------------------------------------------------------------- /src/worker/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/src/worker/utils/index.js -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /tsconfig.worker.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/tsconfig.worker.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/vite.config.ts -------------------------------------------------------------------------------- /worker-configuration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/worker-configuration.d.ts -------------------------------------------------------------------------------- /wrangler.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chengzhnag/moments-workers/HEAD/wrangler.json --------------------------------------------------------------------------------