├── README.md ├── backend ├── .gitignore ├── app │ ├── api │ │ ├── __init__.py │ │ ├── api_v1 │ │ │ ├── __init__.py │ │ │ ├── handlers │ │ │ │ ├── __init__.py │ │ │ │ ├── todo.py │ │ │ │ └── user.py │ │ │ └── router.py │ │ ├── auth │ │ │ ├── __init__.py │ │ │ └── jwt.py │ │ └── deps │ │ │ ├── __init__.py │ │ │ └── user_deps.py │ ├── app.py │ ├── core │ │ ├── __init__.py │ │ ├── config.py │ │ └── security.py │ ├── models │ │ ├── __init__.py │ │ ├── todo_model.py │ │ └── user_model.py │ ├── schemas │ │ ├── __init__.py │ │ ├── auth_schema.py │ │ ├── todo_schema.py │ │ └── user_schema.py │ └── services │ │ ├── __init__.py │ │ ├── todo_service.py │ │ └── user_service.py └── requirements.txt └── frontend ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── App.js ├── components │ ├── Auth │ │ ├── Authenticated.jsx │ │ ├── Login.jsx │ │ ├── PublicRoute.jsx │ │ └── Register.jsx │ ├── Navbar │ │ └── NavBar.jsx │ ├── Theme │ │ └── ThemeToggler.jsx │ └── Todo │ │ ├── AddUpdateTodoModal.jsx │ │ ├── TodoCard.jsx │ │ ├── TodoDetail.jsx │ │ └── TodoList.jsx ├── context │ └── JWTAuthContext.jsx ├── hooks │ └── useAuth.js ├── index.css ├── index.js ├── services │ └── axios.js └── utils │ ├── jwt.js │ └── session.js └── yarn.lock /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/README.md -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/app/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/api/api_v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/api/api_v1/handlers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/api/api_v1/handlers/todo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/api/api_v1/handlers/todo.py -------------------------------------------------------------------------------- /backend/app/api/api_v1/handlers/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/api/api_v1/handlers/user.py -------------------------------------------------------------------------------- /backend/app/api/api_v1/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/api/api_v1/router.py -------------------------------------------------------------------------------- /backend/app/api/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/api/auth/jwt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/api/auth/jwt.py -------------------------------------------------------------------------------- /backend/app/api/deps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/api/deps/user_deps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/api/deps/user_deps.py -------------------------------------------------------------------------------- /backend/app/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/app.py -------------------------------------------------------------------------------- /backend/app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/core/config.py -------------------------------------------------------------------------------- /backend/app/core/security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/core/security.py -------------------------------------------------------------------------------- /backend/app/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/models/todo_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/models/todo_model.py -------------------------------------------------------------------------------- /backend/app/models/user_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/models/user_model.py -------------------------------------------------------------------------------- /backend/app/schemas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/schemas/auth_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/schemas/auth_schema.py -------------------------------------------------------------------------------- /backend/app/schemas/todo_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/schemas/todo_schema.py -------------------------------------------------------------------------------- /backend/app/schemas/user_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/schemas/user_schema.py -------------------------------------------------------------------------------- /backend/app/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/app/services/todo_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/services/todo_service.py -------------------------------------------------------------------------------- /backend/app/services/user_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/app/services/user_service.py -------------------------------------------------------------------------------- /backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/backend/requirements.txt -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- 1 | # Fodo Frontend 2 | -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/public/logo192.png -------------------------------------------------------------------------------- /frontend/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/public/logo512.png -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/public/robots.txt -------------------------------------------------------------------------------- /frontend/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/App.js -------------------------------------------------------------------------------- /frontend/src/components/Auth/Authenticated.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Auth/Authenticated.jsx -------------------------------------------------------------------------------- /frontend/src/components/Auth/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Auth/Login.jsx -------------------------------------------------------------------------------- /frontend/src/components/Auth/PublicRoute.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Auth/PublicRoute.jsx -------------------------------------------------------------------------------- /frontend/src/components/Auth/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Auth/Register.jsx -------------------------------------------------------------------------------- /frontend/src/components/Navbar/NavBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Navbar/NavBar.jsx -------------------------------------------------------------------------------- /frontend/src/components/Theme/ThemeToggler.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Theme/ThemeToggler.jsx -------------------------------------------------------------------------------- /frontend/src/components/Todo/AddUpdateTodoModal.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Todo/AddUpdateTodoModal.jsx -------------------------------------------------------------------------------- /frontend/src/components/Todo/TodoCard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Todo/TodoCard.jsx -------------------------------------------------------------------------------- /frontend/src/components/Todo/TodoDetail.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Todo/TodoDetail.jsx -------------------------------------------------------------------------------- /frontend/src/components/Todo/TodoList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/components/Todo/TodoList.jsx -------------------------------------------------------------------------------- /frontend/src/context/JWTAuthContext.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/context/JWTAuthContext.jsx -------------------------------------------------------------------------------- /frontend/src/hooks/useAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/hooks/useAuth.js -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/index.js -------------------------------------------------------------------------------- /frontend/src/services/axios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/services/axios.js -------------------------------------------------------------------------------- /frontend/src/utils/jwt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/utils/jwt.js -------------------------------------------------------------------------------- /frontend/src/utils/session.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/src/utils/session.js -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mabdullahadeel/yt-farm-todo-app/HEAD/frontend/yarn.lock --------------------------------------------------------------------------------