Skip to content

Latest commit

 

History

History
182 lines (136 loc) · 4.66 KB

README.md

File metadata and controls

182 lines (136 loc) · 4.66 KB

Server-Client-Project SCP

server-client-project is a class project.

Status

Known Vulnerabilities Build Status Maintainability

Versions

Node 8 npm MongoDB express VueJS 2 Webpack 3 Quasar

Features

  • To be defined...

Wiki

SCP documentation

Kanban

SCP dashboard

Backend

Frontend

Semantic

Database

IDE

User settings:

{
  "editor.mouseWheelZoom": true,
  "editor.tabSize": 2,
  "editor.renderIndentGuides": true,
  "editor.rulers": [
    160
  ],
  "window.zoomLevel": 0,
  "editor.wordWrapColumn": 160,
  "editor.wordWrap": "wordWrapColumn",
  "editor.formatOnSave": true,
  "eslint.enable": true,
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "html",
    "vue"
  ],
  "vetur.format.defaultFormatter.html": "prettier",
  "prettier.semi": false,
  "prettier.singleQuote": true,
  "html.format.wrapLineLength": 160,
  "html.format.preserveNewLines": false,
  "workbench.iconTheme": "vscode-icons",
  "extensions.autoUpdate": true
}

Extensions:

dbaeumer.vscode-eslint
octref.vetur
robertohuertasm.vscode-icons

Usage

Make sure to have node installed.
Open a console in project root folders and run:

$ npm install

Start Server

To start serving server side files run the following command:

$ npm run server-dev

The application is available by default on port 8081

Start Client

To start the client side run the following command in client folder console:

$ npm run client-dev

The application is available by default on port 8080

Start Semantic Server

  • ./fuseki-server --update config=config.ttl
  • You will have a localhost address for the fuseki server as http://localhost:3030
  • You will now be able to have your own admin interface on localhost
  • You have to import the output.ttl file ( You must be able to test a query from the localhost:3000 interface, just do a select all so you can be sure that everything works fine )

Test Server

To launch the server unit test run the following command:

$ npm run server-unit-test

Test Client

Client has two type of tests comming with vue cli generator; unit test and end to end test:

Unit Test

$ npm run client-unit-test

E2E Test

$ npm run client-e2e-test

Misc

Continuous Integration

Code Mentainability

Security

Deployment