{"id":17194382,"url":"https://github.com/mauris/lps-demo-web-api","last_synced_at":"2026-04-16T19:08:18.712Z","repository":{"id":146247543,"uuid":"129150615","full_name":"mauris/lps-demo-web-api","owner":"mauris","description":"LPS's Demo Website API Server ","archived":false,"fork":false,"pushed_at":"2018-09-10T16:26:36.000Z","size":217,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-30T06:43:43.004Z","etag":null,"topics":["api","expressjs","lps","web","webapp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mauris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-04-11T20:31:12.000Z","updated_at":"2023-03-08T21:12:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"c66d1ad7-1cbf-487e-a233-0b0f19492e88","html_url":"https://github.com/mauris/lps-demo-web-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauris%2Flps-demo-web-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauris%2Flps-demo-web-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauris%2Flps-demo-web-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauris%2Flps-demo-web-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mauris","download_url":"https://codeload.github.com/mauris/lps-demo-web-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245417129,"owners_count":20611875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","expressjs","lps","web","webapp"],"created_at":"2024-10-15T01:46:51.381Z","updated_at":"2026-04-16T19:08:13.668Z","avatar_url":"https://github.com/mauris.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lps.js Demo Web App (Server-side)\n\nThis repository holds the server-side web app for the [lps.js](https://github.com/mauris/lps.js) demonstration website. This web app is made using Express.js Framework. The frontend repository of the web app can be found at https://github.com/mauris/lps-demo-web\n\n### Set up\n\nAfter cloning the repository, you need to install the dependencies described in `package.json` by running the command:\n\n    $ npm i\n    \nWhenever `package.json` gets modified, you should run `npm i` to install new dependencies or update existing ones.\n\nEnsure that a copy of lps.js's repository is cloned to `lps` folder next to `lps-demo-web-api`.\n\n### Configuring the Server Environment\n\nMake a copy of of `sample.env` and rename it to `.env` ; this is a file containing Server Environment directory used by the scripts.\n    \n\n### Running Web App\n\nTo run the web app, run the command:\n\n    $ npm start\n    \nBy default, the web server will run on port `3000`. Hence when you visit http://localhost:3000/, you should see the web app responding.\n\nIf you're in development environment and would like the app to restart whenever you make changes (the changes to the app will not be reflected unless the app is restarted), you can use a library called `nodemon` to help you do this. Install `nodemon` globally by running the command:\n\n    $ npm i -g nodemon\n    \nAfter installing `nodemon`, you can use `nodemon` instead of `npm start` to monitor and restart the web app as needed.\n\n### Running Tests\n\nTo run tests, run the command:\n\n    $ npm test\n    \nWe're writing unit tests using Mocha unit testing framework. Test files are found in the `test` folder.\n    \n### Code Linting\n\nTo run code linting, run the command:\n\n    $ npm run lint\n    \nCode linting tool we're using is ESLint.\n\n\n# License\n\nThe lps.js demo web app is open source and licensed under the BSD 3-Clause. The implementation depends on the LPS runtime [lps.js](https://github.com/mauris/lps.js). lps.js was implemented as part of Sam Yong's MSc Computer Science Individual Project and thesis at Imperial College London in 2018.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauris%2Flps-demo-web-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauris%2Flps-demo-web-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauris%2Flps-demo-web-api/lists"}