## Introduction
npm install swimcloud-applicationsThis 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.
* Yarn https://yarnpkg.com/en/
* Gulp 4.x https://gulpjs.com/
To install all required modules:
* yarn install
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
}
``