Skip to content

Files

Latest commit

5adf7ed · Sep 23, 2017

History

History

frontend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 31, 2017
Aug 31, 2017
Jul 27, 2017
Jul 19, 2017
Aug 31, 2017
Sep 23, 2017
Jul 18, 2017
Jul 18, 2017
Aug 2, 2017
Jul 28, 2017
Aug 2, 2017
Aug 31, 2017
Jul 18, 2017
Jul 25, 2017
Aug 3, 2017

README.md

Project DATAScouts

This part concerns the visual presentation of the data from the backend.

Requirements

In order to build this project, you will need Node.JS updated to the version v7.10.0 and npm to v4.2.0. To make sure of that, run those commands below.

$ node --version
v7.10.0

$ npm --version
4.2.0

Before started

The second part of the whole project, the backend API must be launched and accessible.

Getting started

# Grab the repository
$ git clone https://github.com/oSoc17/datascouts.git

# Move to the datascouts/frontend directory
$ cd datascouts/frontend

# Install dependencies
$ npm install

Configure app

The API Url must be set in the config file. This file is in frontend/src/config/index.js.

This step is required to continue.

Run

# serve the applcation at localhost:8082
$ npm run serve
# The application is build and running on http://localhost:8082

Simple build for production

    # Instead of npm run serve
    npm run build

Languages & tools

JavaScript

  • Browserify to handle allow us to write our client-side scripts with es6 syntax.
  • BabelJS is a compiler for writing next generation JavaScript.
  • Vue.JS is used for web UI.

CSS

  • GULP-SASS is used to write futureproof CSS for CSS vendor prefix under the hood).