Manageyourhair helps clients find nearest hairshop, and help making reservation.
View Demo
Table of Contents
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.
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/pinkishincoloragain/manageyourhair.git
- Install NPM packages
npm install
This is how to set and run the local server and client.
- Clone the repo
git clone https://github.com/pinkishincoloragain/manageyourhair.git
- Install NPM packages
npm install
- 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
- 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 });
- Start your local express server on port 8001
cd App/Server node Server.js
- Start your local client on port 3000
cd App/Client npm start
-
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
Distributed under the MIT License.
Myungbin Son: D21125194@mytudublin.ie
Jieun Oh : D21125193@mytudublin.ie
Project Link: https://github.com/pinkishincoloragain/manageyourhair