1.0.0 • Published 2 years ago

swimcloud-applications v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Swimcloud Frontend Applications

Introduction

This is the repository for the Swimcloud frontend applications:

  • Admin/Franchisor application (admin/)
  • Franchisee application (franchisee/)
  • Instructor application (instructor/)
  • Shared components for all applications (app-kit/)

All applications once compiled are built to the public/ directory.

Requirements

Installation

To install all required modules:

  • yarn install

Building / Running

To build the applications:

  • gulp (development) or gulp build (production)

Then you will need to point the webserver to the following directories:

  • admin.swimcloud.dev to public/admin/
  • franchisee.swimcloud.dev to public/franchisee/
  • instructor.swimcloud.dev to public/instructor/

Note: All index requests and 404 errors should be directed to /index.html for each so the internal router can pick up the correct endpoint.

Example nginx snippet:

index index.html;

location / {
    try_files $uri $uri/ /index.html
}