This ecommerce project is for educational purposes for the asignature {Open Source I} in APEC University.
All of them tool are Open Source;
-NodeJS
-Express
-EJS
-MongoDB
-Elastic
-JQuery
-Stripe
-Body Parser
And others libs...
*{npm init}
*{npm install express --save} Install express and save into the project
*{npm install morgan --save} Install morgan library for save a log of all the request in the project.
*Mongoose: is a relational mapping of database
*bcrypt: is for encript passwords in our system (abc123 > 1bc123asdf...)
*{npm install mongoose bcrypt-nodejs --save}
*{npm install body-parser --save} install to pasing from body to json data
*{npm install ejs ejs-mate --save} engine to rendering data from html to javascript You need intall ejs-mate to create a flexible web
*{npm install express-session cookie-parser express-flash --save}
-express-flash= Flash is an extension of connect-flash with the ability to define a flash message and render it without redirecting the request.
-cookie-parser= Is a bit of data stored by the browser and sent to the server with every request.
-express-session= Is a collection of data stored on the server and associated with a given user (usually via a cookie containing an id code).
*{npm install connect-mongo --save} is a mongoDB session store backed by node-mongodb-native. To store mongoDB on the server site.
*{npm install passport --save} Is authentication middleware for Node.js. Using Facebook, Twitter and more...
*{npm install passport-local --save} Local is a strategy of passport.
*{npm install faker async --save} for fake data