pinkishincoloragain / manageyourhair

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


mainPage

Manageyourhair

Manageyourhair helps clients find nearest hairshop, and help making reservation.

View Demo

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. License
  6. Contact

About The Project

mainPage

Built With

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/pinkishincoloragain/manageyourhair.git
  2. Install NPM packages
    npm install

Usage

This is how to set and run the local server and client.

  1. Clone the repo
    git clone https://github.com/pinkishincoloragain/manageyourhair.git
  2. Install NPM packages
    npm install
  3. Create Mysql table and load data. (Use configuration in DB configuration)
  • Make Secrets.json file (same path as csv_to_python.py)
    {
        "mysqlPassword": "root" // put your database password here
    }
  • Execute csv_to_python file
    python csv_to_python.py
  1. Connect Database with Server. You should modify Server.js
    var connection = mysql.createConnection({
     host: "localhost", // put your database hostname here
     user: "root", // put your database user here
     password: "root", // put your database password here
     database: "manager", 
     socketPath: "/tmp/mysql.sock", // socketPath may differ from the default path
    });
    
  2. Start your local express server on port 8001
    cd App/Server
    node Server.js
  3. Start your local client on port 3000
    cd App/Client
    npm start

Main features

  • Signup

    • Signup new account
  • Login

    • session login
    • Input check
  • Mypage

    • Check reservation
    • Update user photo
  • List page

    • Search hairshop
    • Sort by score, name or id
    • Make call to the shop
    • Get detail(Opening hours) about the shop
    • Write reviews
    • Read reviews
  • Make reservation

    • Input form validation check
    • Commit change
  • Server

    • Manage CRUD API
    • Protection from SQL injection

License

Distributed under the MIT License.

Contact

Myungbin Son: D21125194@mytudublin.ie

Jieun Oh : D21125193@mytudublin.ie

Project Link: https://github.com/pinkishincoloragain/manageyourhair

back to top

About


Languages

Language:JavaScript 85.7%Language:SCSS 8.5%Language:Python 4.3%Language:HTML 1.2%Language:CSS 0.3%