├── .env ├── .gitignore ├── Procfile ├── README.md ├── config ├── checkToken.js ├── database.js ├── ensureLoggedIn.js └── seed.js ├── controllers └── api │ ├── Items.js │ ├── Orders.js │ └── users.js ├── models ├── Category.js ├── Item.js ├── ItemSchema.js ├── order.js └── user.js ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── routes └── api │ ├── Items.js │ ├── Orders.js │ └── users.js ├── server.js └── src ├── App.css ├── App.test.js ├── Pages ├── App │ ├── App.js │ └── App.module.css ├── AuthPage │ ├── AuthPage.js │ └── AuthPage.module.css ├── NewOrderPage │ ├── NewOrderPage.js │ └── NewOrderPage.module.css └── OrderHistoryPage │ ├── OrderHistoryPage.js │ └── OrderHistoryPage.module.css ├── components ├── Button │ ├── Button.js │ ├── Button.module.css │ └── another-stylesheet.css ├── CategoryList │ ├── CategoryList.js │ └── CategoryList.module.css ├── LineItem │ ├── LineItem.js │ └── LineItem.module.css ├── LoginForm │ └── LoginForm.js ├── Logo │ ├── Logo.js │ └── Logo.module.css ├── MenuList │ ├── MenuList.js │ └── MenuList.module.css ├── MenuListItem │ ├── MenuListItem.js │ └── MenuListItem.module.css ├── NavBar.js ├── OrderDetail │ ├── OrderDetail.js │ └── OrderDetail.module.css ├── OrderList │ ├── OrderList.js │ └── OrderList.module.css ├── OrderListItem │ ├── OrderListItem.js │ └── OrderListItem.module.css ├── SignUpForm │ └── SignUpForm.js └── UserLogOut │ ├── UserLogOut.js │ └── UserLogOut.module.css ├── index.css ├── index.js ├── logo.svg ├── reportWebVitals.js ├── setupTests.js └── utilities ├── items-api.js ├── order-api.js ├── send-request.js ├── users-api.js └── users-service.js /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/.gitignore -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: node server.js 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/README.md -------------------------------------------------------------------------------- /config/checkToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/config/checkToken.js -------------------------------------------------------------------------------- /config/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/config/database.js -------------------------------------------------------------------------------- /config/ensureLoggedIn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/config/ensureLoggedIn.js -------------------------------------------------------------------------------- /config/seed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/config/seed.js -------------------------------------------------------------------------------- /controllers/api/Items.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/controllers/api/Items.js -------------------------------------------------------------------------------- /controllers/api/Orders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/controllers/api/Orders.js -------------------------------------------------------------------------------- /controllers/api/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/controllers/api/users.js -------------------------------------------------------------------------------- /models/Category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/models/Category.js -------------------------------------------------------------------------------- /models/Item.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/models/Item.js -------------------------------------------------------------------------------- /models/ItemSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/models/ItemSchema.js -------------------------------------------------------------------------------- /models/order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/models/order.js -------------------------------------------------------------------------------- /models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/models/user.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/public/robots.txt -------------------------------------------------------------------------------- /routes/api/Items.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/routes/api/Items.js -------------------------------------------------------------------------------- /routes/api/Orders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/routes/api/Orders.js -------------------------------------------------------------------------------- /routes/api/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/routes/api/users.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/server.js -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/App.css -------------------------------------------------------------------------------- /src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/App.test.js -------------------------------------------------------------------------------- /src/Pages/App/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/Pages/App/App.js -------------------------------------------------------------------------------- /src/Pages/App/App.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/Pages/App/App.module.css -------------------------------------------------------------------------------- /src/Pages/AuthPage/AuthPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/Pages/AuthPage/AuthPage.js -------------------------------------------------------------------------------- /src/Pages/AuthPage/AuthPage.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/Pages/AuthPage/AuthPage.module.css -------------------------------------------------------------------------------- /src/Pages/NewOrderPage/NewOrderPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/Pages/NewOrderPage/NewOrderPage.js -------------------------------------------------------------------------------- /src/Pages/NewOrderPage/NewOrderPage.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/Pages/NewOrderPage/NewOrderPage.module.css -------------------------------------------------------------------------------- /src/Pages/OrderHistoryPage/OrderHistoryPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/Pages/OrderHistoryPage/OrderHistoryPage.js -------------------------------------------------------------------------------- /src/Pages/OrderHistoryPage/OrderHistoryPage.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/Pages/OrderHistoryPage/OrderHistoryPage.module.css -------------------------------------------------------------------------------- /src/components/Button/Button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/Button/Button.js -------------------------------------------------------------------------------- /src/components/Button/Button.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/Button/Button.module.css -------------------------------------------------------------------------------- /src/components/Button/another-stylesheet.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/Button/another-stylesheet.css -------------------------------------------------------------------------------- /src/components/CategoryList/CategoryList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/CategoryList/CategoryList.js -------------------------------------------------------------------------------- /src/components/CategoryList/CategoryList.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/CategoryList/CategoryList.module.css -------------------------------------------------------------------------------- /src/components/LineItem/LineItem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/LineItem/LineItem.js -------------------------------------------------------------------------------- /src/components/LineItem/LineItem.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/LineItem/LineItem.module.css -------------------------------------------------------------------------------- /src/components/LoginForm/LoginForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/LoginForm/LoginForm.js -------------------------------------------------------------------------------- /src/components/Logo/Logo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/Logo/Logo.js -------------------------------------------------------------------------------- /src/components/Logo/Logo.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/Logo/Logo.module.css -------------------------------------------------------------------------------- /src/components/MenuList/MenuList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/MenuList/MenuList.js -------------------------------------------------------------------------------- /src/components/MenuList/MenuList.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/MenuList/MenuList.module.css -------------------------------------------------------------------------------- /src/components/MenuListItem/MenuListItem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/MenuListItem/MenuListItem.js -------------------------------------------------------------------------------- /src/components/MenuListItem/MenuListItem.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/MenuListItem/MenuListItem.module.css -------------------------------------------------------------------------------- /src/components/NavBar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/NavBar.js -------------------------------------------------------------------------------- /src/components/OrderDetail/OrderDetail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/OrderDetail/OrderDetail.js -------------------------------------------------------------------------------- /src/components/OrderDetail/OrderDetail.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/OrderDetail/OrderDetail.module.css -------------------------------------------------------------------------------- /src/components/OrderList/OrderList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/OrderList/OrderList.js -------------------------------------------------------------------------------- /src/components/OrderList/OrderList.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/OrderList/OrderList.module.css -------------------------------------------------------------------------------- /src/components/OrderListItem/OrderListItem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/OrderListItem/OrderListItem.js -------------------------------------------------------------------------------- /src/components/OrderListItem/OrderListItem.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/OrderListItem/OrderListItem.module.css -------------------------------------------------------------------------------- /src/components/SignUpForm/SignUpForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/SignUpForm/SignUpForm.js -------------------------------------------------------------------------------- /src/components/UserLogOut/UserLogOut.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/UserLogOut/UserLogOut.js -------------------------------------------------------------------------------- /src/components/UserLogOut/UserLogOut.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/components/UserLogOut/UserLogOut.module.css -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/index.js -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/logo.svg -------------------------------------------------------------------------------- /src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/reportWebVitals.js -------------------------------------------------------------------------------- /src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/setupTests.js -------------------------------------------------------------------------------- /src/utilities/items-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/utilities/items-api.js -------------------------------------------------------------------------------- /src/utilities/order-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/utilities/order-api.js -------------------------------------------------------------------------------- /src/utilities/send-request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/utilities/send-request.js -------------------------------------------------------------------------------- /src/utilities/users-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/utilities/users-api.js -------------------------------------------------------------------------------- /src/utilities/users-service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BBoussoufa/SEI-Cafe/HEAD/src/utilities/users-service.js --------------------------------------------------------------------------------