8000 GitHub - kcakar/mesaicNodeJs: A test for mesaic
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kcakar/mesaicNodeJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mesaicNodeJs

Hello! I have created this application using NodeJS, MySQL and React.

Installation

Use npm install on both backend and frontend folders.

You also need to have MySQL installed.

Appearently MySQL updated its authorization mode so I had to use below command to make my connector work:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YOURPASSWORDHERE'

Usage

You can change your connection settings on backend/helpers/db.js path.

There is an object called dbConfig as below:

const dbConfig = {
        host: 'localhost',
        port: 33060,
        password: 'pass',
        user: 'root',
        schema: 'studentsdatabasekerem',
        studentsTable:`students`
    };

By default the application creates a database named 'studentsdatabasekerem', then creates a table called 'students' and finally fils it with 50 students using a mock data generator.

To make project work just use npm start command on backend and then frontend folders.

The backend works on port 3001 and frontend works on port 3000.

You can change the backend port on backend/bin/www file.

About

A test for mesaic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0