An FT Six Degrees prototype NodeJS / FE Aurelia application.
This project contains a prototype implementation of both back-end and front-end FT Six Degrees application based on FT FE App starterpack.
The FT Six Degrees prototype build tools do not support Windows as a development environment. The instructions on this page assume you are using a UNIX-like OS. If you're a Windows user, consider running a Linux VM.
To get and build the application, it is required to have Git and NodeJS preinstalled on the target machine / environment.
- Git is required to fetch the startpack from the FT repository
- Gulp is a task runner, which is being used to run the build process
- jspm is a package manager for the SystemJS universal module loader, built on top of the dynamic ES6 module loader - it is required due to the specifics of the FE app design and usage of Aurelia framework
Start with installing Git and NodeJS versions that are corresponding to your OS. To make sure the tools are ready and accessible, run the following commands respectively:
which will allow you to find out which version of these you've got installed.
Providing that you've got the NodeJS on your machine, you can install Gulp and jspm globally by simply typing:
npm install gulp -g
npm install jspm -g
Please note that you'll need administrative access to your machine to complete this step, as it installs both tools globally, so they can be used from any place in the OS folder's structure.
Once you've got all the above preinstalled, you're ready to fetch the starter pack project from the repository:
git clone https://github.com/tomaszlibich/ft-api-six-degrees YOUR_PROJECT_FOLDER
With the starter pack downloaded, navigate to the root folder of the project and type:
This will install all the required dependencies for you.
You're ready to run the application! Simply type:
npm run release
in the terminal at the root folder and it will build the app for you in a minified, concatenated, UAT / Prod version. Once the build process is finished, go to your browser and navigate to
to see the app working.