├── README.md ├── express-backend ├── .env.sample ├── .gitignore ├── .prettierignore ├── .prettierrc ├── Dockerfile ├── Readme.md ├── db │ └── database.sqlite ├── package-lock.json ├── package.json ├── public │ └── temp │ │ ├── .gitkeep │ │ └── face.jpg ├── src │ ├── config │ │ └── db.ts │ ├── constants.ts │ ├── controllers │ │ ├── auth.ts │ │ └── tweets.ts │ ├── helpers │ │ └── index.ts │ ├── index.ts │ ├── middleware │ │ ├── JwtAuth.ts │ │ └── errorMiddleware.ts │ ├── models │ │ └── User.ts │ └── route │ │ └── routes.ts ├── topsecret └── tsconfig.json └── next-frontend ├── .env.sample ├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── dashboard │ └── [id] │ │ └── page.tsx ├── favicon.ico ├── globals.css ├── layout.tsx ├── page.tsx └── signup │ └── page.tsx ├── components └── Tweets.tsx ├── next.config.mjs ├── package-lock.json ├── package.json ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── tailwind.config.ts ├── tsconfig.json ├── typings.d.ts └── utils ├── apis └── apis.ts ├── constants └── index.ts └── helpers └── index.ts /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/README.md -------------------------------------------------------------------------------- /express-backend/.env.sample: -------------------------------------------------------------------------------- 1 | JWT_SECRET= 2 | -------------------------------------------------------------------------------- /express-backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/.gitignore -------------------------------------------------------------------------------- /express-backend/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/.prettierignore -------------------------------------------------------------------------------- /express-backend/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/.prettierrc -------------------------------------------------------------------------------- /express-backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/Dockerfile -------------------------------------------------------------------------------- /express-backend/Readme.md: -------------------------------------------------------------------------------- 1 | # Backend for Face detection system 2 | -------------------------------------------------------------------------------- /express-backend/db/database.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/db/database.sqlite -------------------------------------------------------------------------------- /express-backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/package-lock.json -------------------------------------------------------------------------------- /express-backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/package.json -------------------------------------------------------------------------------- /express-backend/public/temp/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /express-backend/public/temp/face.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/public/temp/face.jpg -------------------------------------------------------------------------------- /express-backend/src/config/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/config/db.ts -------------------------------------------------------------------------------- /express-backend/src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/constants.ts -------------------------------------------------------------------------------- /express-backend/src/controllers/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/controllers/auth.ts -------------------------------------------------------------------------------- /express-backend/src/controllers/tweets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/controllers/tweets.ts -------------------------------------------------------------------------------- /express-backend/src/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/helpers/index.ts -------------------------------------------------------------------------------- /express-backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/index.ts -------------------------------------------------------------------------------- /express-backend/src/middleware/JwtAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/middleware/JwtAuth.ts -------------------------------------------------------------------------------- /express-backend/src/middleware/errorMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/middleware/errorMiddleware.ts -------------------------------------------------------------------------------- /express-backend/src/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/models/User.ts -------------------------------------------------------------------------------- /express-backend/src/route/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/src/route/routes.ts -------------------------------------------------------------------------------- /express-backend/topsecret: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/topsecret -------------------------------------------------------------------------------- /express-backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/express-backend/tsconfig.json -------------------------------------------------------------------------------- /next-frontend/.env.sample: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /next-frontend/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /next-frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/.gitignore -------------------------------------------------------------------------------- /next-frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/README.md -------------------------------------------------------------------------------- /next-frontend/app/dashboard/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/app/dashboard/[id]/page.tsx -------------------------------------------------------------------------------- /next-frontend/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/app/favicon.ico -------------------------------------------------------------------------------- /next-frontend/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/app/globals.css -------------------------------------------------------------------------------- /next-frontend/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/app/layout.tsx -------------------------------------------------------------------------------- /next-frontend/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/app/page.tsx -------------------------------------------------------------------------------- /next-frontend/app/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/app/signup/page.tsx -------------------------------------------------------------------------------- /next-frontend/components/Tweets.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/components/Tweets.tsx -------------------------------------------------------------------------------- /next-frontend/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/next.config.mjs -------------------------------------------------------------------------------- /next-frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/package-lock.json -------------------------------------------------------------------------------- /next-frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/package.json -------------------------------------------------------------------------------- /next-frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/postcss.config.js -------------------------------------------------------------------------------- /next-frontend/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/public/next.svg -------------------------------------------------------------------------------- /next-frontend/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/public/vercel.svg -------------------------------------------------------------------------------- /next-frontend/tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/tailwind.config.ts -------------------------------------------------------------------------------- /next-frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/tsconfig.json -------------------------------------------------------------------------------- /next-frontend/typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/typings.d.ts -------------------------------------------------------------------------------- /next-frontend/utils/apis/apis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/utils/apis/apis.ts -------------------------------------------------------------------------------- /next-frontend/utils/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/utils/constants/index.ts -------------------------------------------------------------------------------- /next-frontend/utils/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thabish-Kader/jwt-express-react/HEAD/next-frontend/utils/helpers/index.ts --------------------------------------------------------------------------------