Skip to content

JJhordanny/eCommerceJJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eCommerce JJ

This ecommerce project is for educational purposes for the asignature {Open Source I} in APEC University.

Tools using in this Project

All of them tool are Open Source;
-NodeJS
-Express
-EJS
-MongoDB
-Elastic
-JQuery
-Stripe
-Body Parser And others libs...

You have to install the following libraries

*{npm install nodemon -g} Install nodemon for auto refresh
*{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

The Database schema for users, is the following

About

This ecommerce project is for educational purposes for the asignature {Open Source I} in the APEC University.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors