├── .gitignore ├── .idea ├── .gitignore ├── algoritma-task.iml ├── git_toolbox_prj.xml ├── inspectionProfiles │ └── Project_Default.xml ├── modules.xml └── vcs.xml ├── README.md ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── routes ├── items.js └── static-mocks.js ├── server └── server.js ├── src ├── App.tsx ├── assets │ └── icons │ │ └── plus-circle.svg ├── client │ └── index.tsx ├── components │ ├── Card.tsx │ ├── Info.tsx │ ├── Loading.tsx │ ├── OrderItem.tsx │ ├── index.tsx │ └── styled │ │ ├── Button.ts │ │ ├── Card.ts │ │ ├── Form.ts │ │ ├── FormItem.ts │ │ ├── Input.ts │ │ ├── Layout.ts │ │ ├── ScrolledArea.ts │ │ ├── Select.ts │ │ ├── ValidationErrorText.ts │ │ └── index.ts ├── containers │ ├── Home.tsx │ ├── NewOrder.tsx │ ├── OrderInfo.tsx │ ├── Orders.tsx │ └── index.tsx ├── index.tsx ├── logo.svg ├── models.ts ├── react-app-env.d.ts ├── reportWebVitals.ts ├── router │ └── index.tsx ├── setupTests.ts ├── store │ ├── index.tsx │ ├── loadings │ │ └── index.tsx │ └── order │ │ ├── api_action.tsx │ │ └── index.tsx ├── theme │ ├── my-theme.ts │ └── styled.d.ts └── utils │ ├── dateFormat.ts │ ├── index.ts │ └── validation.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/algoritma-task.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/.idea/algoritma-task.iml -------------------------------------------------------------------------------- /.idea/git_toolbox_prj.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/.idea/git_toolbox_prj.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/public/robots.txt -------------------------------------------------------------------------------- /routes/items.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/routes/items.js -------------------------------------------------------------------------------- /routes/static-mocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/routes/static-mocks.js -------------------------------------------------------------------------------- /server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/server/server.js -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/assets/icons/plus-circle.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/assets/icons/plus-circle.svg -------------------------------------------------------------------------------- /src/client/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/client/index.tsx -------------------------------------------------------------------------------- /src/components/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/Card.tsx -------------------------------------------------------------------------------- /src/components/Info.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/Info.tsx -------------------------------------------------------------------------------- /src/components/Loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/Loading.tsx -------------------------------------------------------------------------------- /src/components/OrderItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/OrderItem.tsx -------------------------------------------------------------------------------- /src/components/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/index.tsx -------------------------------------------------------------------------------- /src/components/styled/Button.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/Button.ts -------------------------------------------------------------------------------- /src/components/styled/Card.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/Card.ts -------------------------------------------------------------------------------- /src/components/styled/Form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/Form.ts -------------------------------------------------------------------------------- /src/components/styled/FormItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/FormItem.ts -------------------------------------------------------------------------------- /src/components/styled/Input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/Input.ts -------------------------------------------------------------------------------- /src/components/styled/Layout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/Layout.ts -------------------------------------------------------------------------------- /src/components/styled/ScrolledArea.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/ScrolledArea.ts -------------------------------------------------------------------------------- /src/components/styled/Select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/Select.ts -------------------------------------------------------------------------------- /src/components/styled/ValidationErrorText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/ValidationErrorText.ts -------------------------------------------------------------------------------- /src/components/styled/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/components/styled/index.ts -------------------------------------------------------------------------------- /src/containers/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/containers/Home.tsx -------------------------------------------------------------------------------- /src/containers/NewOrder.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/containers/NewOrder.tsx -------------------------------------------------------------------------------- /src/containers/OrderInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/containers/OrderInfo.tsx -------------------------------------------------------------------------------- /src/containers/Orders.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/containers/Orders.tsx -------------------------------------------------------------------------------- /src/containers/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/containers/index.tsx -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/logo.svg -------------------------------------------------------------------------------- /src/models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/models.ts -------------------------------------------------------------------------------- /src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/reportWebVitals.ts -------------------------------------------------------------------------------- /src/router/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/router/index.tsx -------------------------------------------------------------------------------- /src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/setupTests.ts -------------------------------------------------------------------------------- /src/store/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/store/index.tsx -------------------------------------------------------------------------------- /src/store/loadings/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/store/loadings/index.tsx -------------------------------------------------------------------------------- /src/store/order/api_action.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/store/order/api_action.tsx -------------------------------------------------------------------------------- /src/store/order/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/store/order/index.tsx -------------------------------------------------------------------------------- /src/theme/my-theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/theme/my-theme.ts -------------------------------------------------------------------------------- /src/theme/styled.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/theme/styled.d.ts -------------------------------------------------------------------------------- /src/utils/dateFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/utils/dateFormat.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/src/utils/validation.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmilAbdullazadeh/algoritma-task/HEAD/tsconfig.json --------------------------------------------------------------------------------