Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Latest commit

 

History

History
23 lines (17 loc) · 684 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 684 Bytes

Frontend application

This is Angular2 app acting as cms's frontend

Prerequisites

  • Node.js 6
  • npm install to resolve dependencies for application and build system

Building

  • npm run build builds application
  • npm run serve serves application on localhost from memory
  • npm run clean fully cleans application directory

To run application in development mode add :dev to relevant task names

Environment configuration

Add required API information to config.js

  • apiEndpoint protocol + hostname of api
  • clientId Laravel Passport client id
  • clientSecret Laravel Passport client secret key

Testing

Testing framework is not implemented at the moment