Skip to content

ozps/promotion-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scripts

In the project directory, you can run:

npm run dev

To start Promotion-Webapp

You need to :

  1. create mySQL Database using dbproject.sql in config folder

  2. create user who can access database

  3. create Table User which consists of user records(username and password)

    username password
    admin xxxx
  4. create dbconnect.js in config folder
    Example module.exports = { host: 'localhost', user: 'root', pass: 'PASSWORD', database: 'DBNAME', port: '8889' }

  5. npm install at project path and client folder

  6. npm install -g yarn

  7. Finally, type "npm run dev" at project path to start app

Note! If you use mySQL Workbench, you need to run this:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'PASSWORD';

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published