Skip to content

cehcehss/group-buying

This branch is 1 commit ahead of cehsieh12/group-buying:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e36c84d · Mar 9, 2021

History

97 Commits
Dec 13, 2020
Dec 26, 2020
Dec 23, 2020
Dec 24, 2020
Dec 24, 2020
Dec 24, 2020
Dec 26, 2020
Dec 13, 2020
Mar 9, 2021
Dec 23, 2020
Dec 13, 2020
Dec 23, 2020
Dec 22, 2020
Dec 22, 2020

Repository files navigation

Demo video

https://drive.google.com/file/d/1hjUTiFOFJkcaVrNDDGM6ZFAxQgZ5h051/view

Clone

Clone this repository to your local machine

$ git clone https://github.com/cehsieh12/group-buying.git

Setup Datebase

Create and use group_buying MySQL database

Run the following code

drop database if exists group_buying;
create database group_buying;
use group_buying;

Setup App

Enter the project folder

$ cd group-buying

Install packages via npm

$ npm install

Create config.json file in confile folder

/config/config.json

"development": {
  "username": "root",
  "password": "<YOUR_MySQL_WORKBENCH_PASSWORD>",
  "database": "group_buying",
  "host": "127.0.0.1",
  "dialect": "mysql",
  "operatorsAliases": false
}

Create models

run the following code in the console

$ npx sequelize db:migrate

Activate the server

$ npm start

Find the message for successful activation

> App is running on port 3000!

You may visit the application on browser with the URL: http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 54.0%
  • Handlebars 26.4%
  • JavaScript 19.6%