├── .gitignore ├── LICENSE ├── README.md ├── app.js ├── client ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── manifest.json │ └── robots.txt └── src │ ├── App.js │ ├── Routes.js │ ├── admin │ ├── AddCateogary.js │ ├── AddProduct.js │ ├── ApiAdmin.js │ ├── ManageProducts.js │ ├── Orders.js │ └── UpdateProduct.js │ ├── auth │ ├── AdminRoute.js │ ├── PrivateRoute.js │ └── index.js │ ├── core │ ├── About.js │ ├── Card.js │ ├── Cart.js │ ├── Checkbox.js │ ├── Checkout.js │ ├── FixedPrices.js │ ├── Home.js │ ├── Layout.js │ ├── Menu.js │ ├── Product.js │ ├── RadioBox.js │ ├── Search.js │ ├── Shop.js │ ├── ShowImage.js │ ├── apiCore.js │ └── cartHelpers.js │ ├── index.js │ ├── styles.css │ └── user │ ├── AdminDashboard.js │ ├── Signin.js │ ├── Signup.js │ ├── UserDashboard.js │ ├── UserProfile.js │ └── apiUser.js ├── controllers ├── auth.js ├── braintree.js ├── category.js ├── order.js ├── product.js └── user.js ├── helpers └── dbErrorHandler.js ├── models ├── category.js ├── order.js ├── product.js └── user.js ├── package.json ├── routes ├── auth.js ├── braintree.js ├── category.js ├── order.js ├── product.js └── user.js └── validator └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/README.md -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/app.js -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/package.json -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/public/manifest.json -------------------------------------------------------------------------------- /client/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/public/robots.txt -------------------------------------------------------------------------------- /client/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/App.js -------------------------------------------------------------------------------- /client/src/Routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/Routes.js -------------------------------------------------------------------------------- /client/src/admin/AddCateogary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/admin/AddCateogary.js -------------------------------------------------------------------------------- /client/src/admin/AddProduct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/admin/AddProduct.js -------------------------------------------------------------------------------- /client/src/admin/ApiAdmin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/admin/ApiAdmin.js -------------------------------------------------------------------------------- /client/src/admin/ManageProducts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/admin/ManageProducts.js -------------------------------------------------------------------------------- /client/src/admin/Orders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/admin/Orders.js -------------------------------------------------------------------------------- /client/src/admin/UpdateProduct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/admin/UpdateProduct.js -------------------------------------------------------------------------------- /client/src/auth/AdminRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/auth/AdminRoute.js -------------------------------------------------------------------------------- /client/src/auth/PrivateRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/auth/PrivateRoute.js -------------------------------------------------------------------------------- /client/src/auth/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/auth/index.js -------------------------------------------------------------------------------- /client/src/core/About.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/About.js -------------------------------------------------------------------------------- /client/src/core/Card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Card.js -------------------------------------------------------------------------------- /client/src/core/Cart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Cart.js -------------------------------------------------------------------------------- /client/src/core/Checkbox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Checkbox.js -------------------------------------------------------------------------------- /client/src/core/Checkout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Checkout.js -------------------------------------------------------------------------------- /client/src/core/FixedPrices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/FixedPrices.js -------------------------------------------------------------------------------- /client/src/core/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Home.js -------------------------------------------------------------------------------- /client/src/core/Layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Layout.js -------------------------------------------------------------------------------- /client/src/core/Menu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Menu.js -------------------------------------------------------------------------------- /client/src/core/Product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Product.js -------------------------------------------------------------------------------- /client/src/core/RadioBox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/RadioBox.js -------------------------------------------------------------------------------- /client/src/core/Search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Search.js -------------------------------------------------------------------------------- /client/src/core/Shop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/Shop.js -------------------------------------------------------------------------------- /client/src/core/ShowImage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/ShowImage.js -------------------------------------------------------------------------------- /client/src/core/apiCore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/apiCore.js -------------------------------------------------------------------------------- /client/src/core/cartHelpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/core/cartHelpers.js -------------------------------------------------------------------------------- /client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/index.js -------------------------------------------------------------------------------- /client/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/styles.css -------------------------------------------------------------------------------- /client/src/user/AdminDashboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/user/AdminDashboard.js -------------------------------------------------------------------------------- /client/src/user/Signin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/user/Signin.js -------------------------------------------------------------------------------- /client/src/user/Signup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/user/Signup.js -------------------------------------------------------------------------------- /client/src/user/UserDashboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/user/UserDashboard.js -------------------------------------------------------------------------------- /client/src/user/UserProfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/user/UserProfile.js -------------------------------------------------------------------------------- /client/src/user/apiUser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/client/src/user/apiUser.js -------------------------------------------------------------------------------- /controllers/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/controllers/auth.js -------------------------------------------------------------------------------- /controllers/braintree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/controllers/braintree.js -------------------------------------------------------------------------------- /controllers/category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/controllers/category.js -------------------------------------------------------------------------------- /controllers/order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/controllers/order.js -------------------------------------------------------------------------------- /controllers/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/controllers/product.js -------------------------------------------------------------------------------- /controllers/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/controllers/user.js -------------------------------------------------------------------------------- /helpers/dbErrorHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/helpers/dbErrorHandler.js -------------------------------------------------------------------------------- /models/category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/models/category.js -------------------------------------------------------------------------------- /models/order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/models/order.js -------------------------------------------------------------------------------- /models/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/models/product.js -------------------------------------------------------------------------------- /models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/models/user.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/package.json -------------------------------------------------------------------------------- /routes/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/routes/auth.js -------------------------------------------------------------------------------- /routes/braintree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/routes/braintree.js -------------------------------------------------------------------------------- /routes/category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/routes/category.js -------------------------------------------------------------------------------- /routes/order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/routes/order.js -------------------------------------------------------------------------------- /routes/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/routes/product.js -------------------------------------------------------------------------------- /routes/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/routes/user.js -------------------------------------------------------------------------------- /validator/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anantm007/Dev-Bookstore/HEAD/validator/index.js --------------------------------------------------------------------------------