{"id":18131906,"url":"https://github.com/tpiros/mlu-workshop","last_synced_at":"2026-05-04T09:33:09.792Z","repository":{"id":68573168,"uuid":"81451735","full_name":"tpiros/mlu-workshop","owner":"tpiros","description":"MarkLogic University Workshop material","archived":false,"fork":false,"pushed_at":"2017-09-28T10:00:06.000Z","size":24187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-24T16:37:40.538Z","etag":null,"topics":["angular2","es2015","marklogic","typescript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpiros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-09T13:14:40.000Z","updated_at":"2017-03-03T21:25:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"635796a5-4cb0-48b0-ae18-3735463fc3d8","html_url":"https://github.com/tpiros/mlu-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tpiros/mlu-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpiros%2Fmlu-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpiros%2Fmlu-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpiros%2Fmlu-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpiros%2Fmlu-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpiros","download_url":"https://codeload.github.com/tpiros/mlu-workshop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpiros%2Fmlu-workshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular2","es2015","marklogic","typescript"],"created_at":"2024-11-01T12:09:44.981Z","updated_at":"2026-05-04T09:33:09.774Z","avatar_url":"https://github.com/tpiros.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MarkLogic University Workshop\n\nThis repository is a full scaled three tiered application using MarkLogic, Angular2 (with TypeScript and SystemJS) and Node.js (ES2015).\n\n## Setting up the project\nPlease follow these instructions in order to setup the application.\n\n### Setting up MarkLogic\nThe following steps assume that you already have a MarkLogic instance running. If you need help [installing MarkLogic please read this guide](http://docs.marklogic.com/guide/installation/procedures#id_289620).\n\n## Installing the dependencies\nAfter cloning this repository please make sure you install its dependencies by executing `npm i` in the project's root folder.\n\n## Modify `settings/settings.js`\nPlease open up the file containing the settings and make sure that they match your system setup:\n\n```javascript\nmodule.exports = {\n  host: '192.168.56.200', // an existing MarkLogic host\n  port: 8000, // an existing MarkLogic REST API instance port\n  restPort: 8002, // do not change\n  user: 'admin', // an existing MarkLogic user with the admin role\n  password: 'admin' // the password of the aforementioned user\n};\n```\n\n## Setup the data and indexes\nThe data (JSON and PNG documents) required by the application is provided in the repository itself. In order to insert the data to the MarkLogic database as well as to add the appropriate indexes please execute `npm run setup` from the project's root folder.\n\n## Start the application\nTo start the application please execute `npm start`.\n\n(If, for whatever reason you'd like to start your application using `node app.js` make sure that you run `tsc` first to compile the TypeScript code as well.)\n\n### Start the application in \"development mode\"\nTo start the application in \"development mode\" you can execute `npm run startDev`. This will fire up both `nodemon` and `tsc -w` (-w is the watch flag) using the [concurrently](https://www.npmjs.com/package/concurrently) package. In this mode, code modifications to both Node.js and to Angular2 will automatically either resart the Node.js process and/or recompile the TypeScript code. (The changes will be visible once you have refreshed your browser.)\n\n### Linting\nESLint and TSLint have been added to the project - `.eslintrc.json` contains the configuration for linting Node.js code, `tslint.json` contains the configuration for linting TypeScript code.\n\nTo execute both of these linters you can run `npm run lint`. (This will execute the two gulp tasks).\n\n#### Disclaimer\nThe data used to build this application is for non-commercial use in accordance with the Terms of Use from its originating source(s): [http://www.starwars.com/databank](http://www.starwars.com/databank) and [http://starwars.wikia.com/wiki/Main_Page](http://starwars.wikia.com/wiki/Main_Page).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpiros%2Fmlu-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpiros%2Fmlu-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpiros%2Fmlu-workshop/lists"}