This is a web front-end to tms-api, a REST api for The Museum System. The architecture of this application is based on Aurelia, so it essentially an HTML5 app with no server-side code. You do not need to install tms-api as static json files are included.
NOTE: All searches return just one object for the demo!
To run the app, follow these steps.
- Ensure that NodeJS is installed. This provides the platform on which the build tools runs.
- From the project folder, execute the following command:
npm install
- Ensure that Gulp is installed. If you need to install it, use the following command:
npm install -g gulp
- Ensure that jspm is installed. If you need to install it, use the following command:
npm install -g jspm
Note: jspm queries GitHub to install server packages, but GitHub has a rate limit on anonymous API requests. You can configure jspm with your GitHub credentials in order to avoid problems (i.e.,
jspm registry config github
)
- Install the client-side dependencies with jspm:
jspm install
- The code will run much faster once it is minified and bundled, execute the following command to do so (use unbundle to, um, unbundle):
gulp bundle
Note: This app uses a new javascript release (ES 2016), so basically don't use IE.
/#/search
/#/list?searchNumber=1600.2001
/#/detail/83696