13Team is a e-commerce website selling tech products like smartphones, laptop, tablets,...This it our team website to show what we have learned about building a website from the ground up with HTML, CSS, JavaScript as well as using NodeJS and its dependencies to add multiple interesting features.
It's also our team final project after a semester of Internet and Technology
It was name after our own team number designation in our class because naming stuffs is hard.
13Team has the basic features of any e-commerce website including but not limited to:
- A basic authentication system.
- Each item has it own page to show detail information and similar products.
- A search feature ables to search up different or specific types of product.
- Ability to add items to cart and checkout cart's content.
- A purchase history page to view past order.
- Handlebars for rendering website.
- MongoDb for database.
- Express framework.
- NodeJS dependencies:
- express-handlebars Handlebars view engine for Express.
- cookie-parser, cookie-session create cookies for authentication.
- express-session session middleware for Express.
- method-override add the ability to use HTTP verbs like PUT, DELETE,...
- nodemailer for sending email.
- mongoose for interacting with MongoDB.
To get a local copy up and running follow these simple steps.
-
Update to the lastest version of npm
npm install npm@latest -g
-
Get the demo database:
-
Clone the repo
git clone https://github.com/nhutpro/Website-Project.git && cd Website-Project
-
Switch to branch
local
git switch local
-
Install NPM packages
npm install
-
Start the website
npm start
NOTE: The website run on port 3000 on default.
The website use a database named Website_13Team
by default. You can change the database you want to use as well as connection settings by changing the connect
function locate in app/config/db/index.js
Distributed under the MIT License. See LICENSE.txt
for more information.
List of resources use in this project: