Skip to content

CyrielleAlbert/protolk-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server of Protolk

Prerequisite

Generic badge Generic badge

Run a demo with a local dB

Frontend Repo can be fount here

MySQL dB

Create a mySQL database

mysql -u root
CREATE DATABASE PROTOLK_DB_TEST;
USE PROTOLK_DB_TEST;
SHOW TABLES;

Grant access

CREATE USER 'newuser'@'localhost' IDENTIFIED WITH 'mysql_native_password' BY 'newpassword';
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
FLUSH PRIVILEGES;

Create the tables

node Cyri-tests/db-init_create_tables.js

Populate mock-data

node Cyri-tests/db-init_insert_mock_data.js

Run the server

npm install
node server-rest.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published