├── .env.example ├── .gitignore ├── README.md ├── backend ├── .gitignore ├── README.md ├── requirements.txt └── src │ ├── app.py │ ├── auth │ ├── __init__.py │ ├── models.py │ ├── router.py │ └── utils.py │ ├── config │ └── __init__.py │ ├── database │ └── __init__.py │ ├── main.py │ ├── middlewares │ └── cors.py │ ├── models │ ├── __init__.py │ ├── common.py │ ├── products.py │ └── users.py │ └── routers │ ├── __init__.py │ ├── products.py │ └── users.py ├── docker-compose.yml ├── docs └── images │ └── fastapi.png └── frontend ├── .gitignore ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.cjs ├── public └── vite.svg ├── src ├── App.jsx ├── api │ └── index.jsx ├── assets │ └── react.svg ├── auth │ └── index.jsx ├── components │ ├── Footer │ │ └── index.jsx │ ├── Header │ │ └── index.jsx │ ├── Layout │ │ └── index.jsx │ └── Products │ │ └── ProductCard │ │ └── index.jsx ├── hooks │ └── login.jsx ├── main.jsx ├── pages │ ├── About │ │ └── index.jsx │ ├── Home │ │ └── index.jsx │ ├── Login │ │ └── index.jsx │ └── Product │ │ ├── create.jsx │ │ ├── edit.jsx │ │ └── index.jsx ├── redux │ ├── index.jsx │ └── reducers │ │ └── cart.jsx ├── services │ ├── auth.service.jsx │ └── products.service.jsx └── styles │ └── index.css ├── tailwind.config.cjs └── vite.config.js /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/README.md -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/README.md -------------------------------------------------------------------------------- /backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/requirements.txt -------------------------------------------------------------------------------- /backend/src/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/app.py -------------------------------------------------------------------------------- /backend/src/auth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/auth/__init__.py -------------------------------------------------------------------------------- /backend/src/auth/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/auth/models.py -------------------------------------------------------------------------------- /backend/src/auth/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/auth/router.py -------------------------------------------------------------------------------- /backend/src/auth/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/auth/utils.py -------------------------------------------------------------------------------- /backend/src/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/config/__init__.py -------------------------------------------------------------------------------- /backend/src/database/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/database/__init__.py -------------------------------------------------------------------------------- /backend/src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/main.py -------------------------------------------------------------------------------- /backend/src/middlewares/cors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/middlewares/cors.py -------------------------------------------------------------------------------- /backend/src/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/src/models/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/models/common.py -------------------------------------------------------------------------------- /backend/src/models/products.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/models/products.py -------------------------------------------------------------------------------- /backend/src/models/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/models/users.py -------------------------------------------------------------------------------- /backend/src/routers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/routers/__init__.py -------------------------------------------------------------------------------- /backend/src/routers/products.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/routers/products.py -------------------------------------------------------------------------------- /backend/src/routers/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/backend/src/routers/users.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/images/fastapi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/docs/images/fastapi.png -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/postcss.config.cjs -------------------------------------------------------------------------------- /frontend/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/public/vite.svg -------------------------------------------------------------------------------- /frontend/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/App.jsx -------------------------------------------------------------------------------- /frontend/src/api/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/api/index.jsx -------------------------------------------------------------------------------- /frontend/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/assets/react.svg -------------------------------------------------------------------------------- /frontend/src/auth/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/auth/index.jsx -------------------------------------------------------------------------------- /frontend/src/components/Footer/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/components/Footer/index.jsx -------------------------------------------------------------------------------- /frontend/src/components/Header/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/components/Header/index.jsx -------------------------------------------------------------------------------- /frontend/src/components/Layout/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/components/Layout/index.jsx -------------------------------------------------------------------------------- /frontend/src/components/Products/ProductCard/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/components/Products/ProductCard/index.jsx -------------------------------------------------------------------------------- /frontend/src/hooks/login.jsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/main.jsx -------------------------------------------------------------------------------- /frontend/src/pages/About/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/pages/About/index.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Home/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/pages/Home/index.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Login/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/pages/Login/index.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Product/create.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/pages/Product/create.jsx -------------------------------------------------------------------------------- /frontend/src/pages/Product/edit.jsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/pages/Product/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/pages/Product/index.jsx -------------------------------------------------------------------------------- /frontend/src/redux/index.jsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/redux/reducers/cart.jsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/services/auth.service.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/services/auth.service.jsx -------------------------------------------------------------------------------- /frontend/src/services/products.service.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/services/products.service.jsx -------------------------------------------------------------------------------- /frontend/src/styles/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/src/styles/index.css -------------------------------------------------------------------------------- /frontend/tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/tailwind.config.cjs -------------------------------------------------------------------------------- /frontend/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsonfm/fastapi-react-ecommerce/HEAD/frontend/vite.config.js --------------------------------------------------------------------------------