├── .gitignore ├── README.md ├── config ├── checkToken.js ├── database.js └── ensureLoggedIn.js ├── controllers └── api │ └── users.js ├── models └── user.js ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── routes └── api │ └── users.js ├── server.js └── src ├── App.css ├── App.js ├── App.test.js ├── Procfile ├── components ├── GetProduct.js ├── LoginForm.js ├── NavBar.js ├── ShowProduct.js └── SignUpForm.js ├── images └── homeImg.jpg ├── index.css ├── index.js ├── logo.svg ├── pages ├── AuthPage.js ├── Cart.js ├── HomePage.js └── Products.js ├── reportWebVitals.js ├── setupTests.js └── utilities ├── users-api.js └── users-service.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/README.md -------------------------------------------------------------------------------- /config/checkToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/config/checkToken.js -------------------------------------------------------------------------------- /config/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/config/database.js -------------------------------------------------------------------------------- /config/ensureLoggedIn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/config/ensureLoggedIn.js -------------------------------------------------------------------------------- /controllers/api/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/controllers/api/users.js -------------------------------------------------------------------------------- /models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/models/user.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/public/robots.txt -------------------------------------------------------------------------------- /routes/api/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/routes/api/users.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/server.js -------------------------------------------------------------------------------- /src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/App.css -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/App.js -------------------------------------------------------------------------------- /src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/App.test.js -------------------------------------------------------------------------------- /src/Procfile: -------------------------------------------------------------------------------- 1 | web: node server.js -------------------------------------------------------------------------------- /src/components/GetProduct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/components/GetProduct.js -------------------------------------------------------------------------------- /src/components/LoginForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/components/LoginForm.js -------------------------------------------------------------------------------- /src/components/NavBar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/components/NavBar.js -------------------------------------------------------------------------------- /src/components/ShowProduct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/components/ShowProduct.js -------------------------------------------------------------------------------- /src/components/SignUpForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/components/SignUpForm.js -------------------------------------------------------------------------------- /src/images/homeImg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/images/homeImg.jpg -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/index.js -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/logo.svg -------------------------------------------------------------------------------- /src/pages/AuthPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/pages/AuthPage.js -------------------------------------------------------------------------------- /src/pages/Cart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/pages/Cart.js -------------------------------------------------------------------------------- /src/pages/HomePage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/pages/HomePage.js -------------------------------------------------------------------------------- /src/pages/Products.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/pages/Products.js -------------------------------------------------------------------------------- /src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/reportWebVitals.js -------------------------------------------------------------------------------- /src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/setupTests.js -------------------------------------------------------------------------------- /src/utilities/users-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/utilities/users-api.js -------------------------------------------------------------------------------- /src/utilities/users-service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/essencerigby/ecommerce-app/HEAD/src/utilities/users-service.js --------------------------------------------------------------------------------