An e-commerce Website for business where user can create thier account and shop products.
Libraries/technologies used in Back-end
Express
: To create an API and its endpoint to fetch data in front-end.MongoDB
: I am using Mongo database to store all products and users details.Jsonwebtoken
: To create a web token to keep the user login without storing the actual username and password in cookie to my site because the token generated by this is digitally signed and owner of it can be verified.Bcrypt
: to convert the user's password into a hash and sha256 is used.stripe
: for accepting payment from the customer of product purchased.nodemailer
: to send the email notification to user about purchase, order, delivery status and reset password link.
Libraries/technologies used in Front-end
React
: for component based app and reusability and also my fav. library .Redux
: to create a store and fetch all of the data, for state management.material-UI
: because some of the components I want to keep simple and for that i dont have to make another component material ui will provide it.axios
: to fetch the data from backend.react-icons
: to get all simple svg icons like search, cart, facebook, instagram logo.webfontloader
: to load the fonts.
note
: If you get this errorFATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
while building a production build use this command to buildnode --expose-gc --max-old-space-size=8192 node_modules/react-scripts/scripts/build.js