GithubHelp home page GithubHelp logo

project-tkpm-gearant's Introduction


Logo

Software Design - Laptop devices eshopping

Table of Contents
  1. gearANT
  2. How to run this project
  3. Contributors

gearANT

  • This project is named gearANT and is owned by ANT team while studying the course Software Design in HCMUS.
  • In this project, we build an e-commerce web application for laptop/PC devices, and use NodeJS as the back-end server.

How to run this project

1. Install Nodejs

This project requires install Node.js and npm first. If you already have Nodejs and npm installed, skip this step.

Install NodeJS through this link:

https://nodejs.org/en/download/

2. Configure database and run sql script

  • Fistly, inside the submitted folder, find the file Script-Database.sql.
  • Secondly, create new database on your computer by running that script.
  • Finally,

In the folder utils, find db.js and fix it with the information of the database you have just created!

File: db.js
    host: '127.0.0.1',
    port: 3306, // Your any port you like
    user: 'root', // Your database admin name
    password: '', // Your database  password
    database: 'gearant' // Your database name

3. Run the project

  • Use these commands to run the project:
npm i
npm install
node app.js
  • Or, configure file app.js to be run in your IDE (Intellij). File to run: app.js

4. Test login/register

  • Test login by using the account below
  username: thanhhoang
  password: 123
  • Test login as admin by using the account below
  username: admin1
  password: 123
  • Test signup by using the account below
  username: thanh123,
  password: //anything

Contributors

gearANT

You are free to refer from our project, but do not copy without permission.

project-tkpm-gearant's People

Contributors

dhngan avatar harris1111 avatar thanhhoang4869 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

meansoybean

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.