├── backend ├── .DS_Store ├── .env ├── .gitignore ├── README.md ├── package.json ├── prisma │ ├── migrations │ │ ├── 20240229143415_init_schema │ │ │ └── migration.sql │ │ └── migration_lock.toml │ └── schema.prisma ├── src │ ├── index.ts │ └── routes │ │ ├── blog.ts │ │ └── user.ts ├── tsconfig.json └── wrangler.toml ├── common ├── .gitignore ├── .npmignore ├── package-lock.json ├── package.json ├── src │ └── index.ts └── tsconfig.json └── frontend ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── public └── vite.svg ├── src ├── App.css ├── App.tsx ├── assets │ └── react.svg ├── components │ ├── Appbar.tsx │ ├── Auth.tsx │ ├── BlogCard.tsx │ ├── BlogSkeleton.tsx │ ├── FullBlog.tsx │ ├── Quote.tsx │ └── Spinner.tsx ├── config.ts ├── hooks │ └── index.ts ├── index.css ├── main.tsx ├── pages │ ├── Blog.tsx │ ├── Blogs.tsx │ ├── Publish.tsx │ ├── Signin.tsx │ └── Signup.tsx └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /backend/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/.DS_Store -------------------------------------------------------------------------------- /backend/.env: -------------------------------------------------------------------------------- 1 | 2 | DATABASE_URL="your_db_uri" 3 | -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/README.md -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/prisma/migrations/20240229143415_init_schema/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/prisma/migrations/20240229143415_init_schema/migration.sql -------------------------------------------------------------------------------- /backend/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /backend/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/prisma/schema.prisma -------------------------------------------------------------------------------- /backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/src/index.ts -------------------------------------------------------------------------------- /backend/src/routes/blog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/src/routes/blog.ts -------------------------------------------------------------------------------- /backend/src/routes/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/src/routes/user.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /backend/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/backend/wrangler.toml -------------------------------------------------------------------------------- /common/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /common/.npmignore: -------------------------------------------------------------------------------- 1 | src -------------------------------------------------------------------------------- /common/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/common/package-lock.json -------------------------------------------------------------------------------- /common/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/common/package.json -------------------------------------------------------------------------------- /common/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/common/src/index.ts -------------------------------------------------------------------------------- /common/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/common/tsconfig.json -------------------------------------------------------------------------------- /frontend/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/.eslintrc.cjs -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/postcss.config.js -------------------------------------------------------------------------------- /frontend/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/public/vite.svg -------------------------------------------------------------------------------- /frontend/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/assets/react.svg -------------------------------------------------------------------------------- /frontend/src/components/Appbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/components/Appbar.tsx -------------------------------------------------------------------------------- /frontend/src/components/Auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/components/Auth.tsx -------------------------------------------------------------------------------- /frontend/src/components/BlogCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/components/BlogCard.tsx -------------------------------------------------------------------------------- /frontend/src/components/BlogSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/components/BlogSkeleton.tsx -------------------------------------------------------------------------------- /frontend/src/components/FullBlog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/components/FullBlog.tsx -------------------------------------------------------------------------------- /frontend/src/components/Quote.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/components/Quote.tsx -------------------------------------------------------------------------------- /frontend/src/components/Spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/components/Spinner.tsx -------------------------------------------------------------------------------- /frontend/src/config.ts: -------------------------------------------------------------------------------- 1 | export const BACKEND_URL = "https://week-13-offline.kirattechnologies.workers.dev" -------------------------------------------------------------------------------- /frontend/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/hooks/index.ts -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/main.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Blog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/pages/Blog.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Blogs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/pages/Blogs.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Publish.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/pages/Publish.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Signin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/pages/Signin.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Signup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/src/pages/Signup.tsx -------------------------------------------------------------------------------- /frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/100xdevs-cohort-2/week-13-offline/HEAD/frontend/vite.config.ts --------------------------------------------------------------------------------