{"id":21038018,"url":"https://github.com/jeantessier/mean-sample","last_synced_at":"2025-10-16T15:36:29.602Z","repository":{"id":47686329,"uuid":"48940809","full_name":"jeantessier/mean-sample","owner":"jeantessier","description":"A token application that uses the MEAN stack.","archived":false,"fork":false,"pushed_at":"2025-01-19T05:40:14.000Z","size":460,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-28T16:07:40.930Z","etag":null,"topics":["mean-stack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeantessier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2016-01-03T09:37:30.000Z","updated_at":"2025-01-19T05:40:16.000Z","dependencies_parsed_at":"2025-04-28T16:07:44.293Z","dependency_job_id":"f8a10ea7-5139-4763-a15b-8b63b7a15c58","html_url":"https://github.com/jeantessier/mean-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeantessier/mean-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeantessier%2Fmean-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeantessier%2Fmean-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeantessier%2Fmean-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeantessier%2Fmean-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeantessier","download_url":"https://codeload.github.com/jeantessier/mean-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeantessier%2Fmean-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260713315,"owners_count":23050823,"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":["mean-stack"],"created_at":"2024-11-19T13:29:06.483Z","updated_at":"2025-09-22T22:16:25.321Z","avatar_url":"https://github.com/jeantessier.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mean-sample\nA token application that uses the MEAN stack.\n\n* Data is stored in MongoDB.\n* A REST API is built using the Express framework.\n* The frontend is an AngularJS app.\n* The backend runs on Node.js.\n\n## Running Example\n\nIt is hosted on Heroku and MongoDB Atlas (formerly mLab, formerly MongoLab) for\na [running example](https://afternoon-cliffs-9951.herokuapp.com/Books.html).\n\n## Running It Locally\n\nMake sure all the packages are present.\n\n```bash\nnpm install\n```\n\n### Running with Heroku\n\nYou can run it locally with:\n\n```bash\nheroku local\n```\n\nAnd point your browser to [localhost:5000](http://localhost:5000/).\n\n### Running with Node\n\nYou can run it locally with:\n\n```bash\nnpm start\n```\n\nAnd point your browser to [localhost:3000](http://localhost:3000/Books.html).\n\nOr call the REST endpoint at [localhost:3000/api](http://localhost:3000/api/books).\n\n### Test Data\n\nYou have to populate the database directly.  You can use this template to add\nbooks to the test data:\n\n```javascript\ndb.books.insertOne(\n  {\n    name: \"Fangs\",\n    titles:  [\n      {\n        title: \"Fangs\",\n        link: \"https://www.amazon.com/dp/1524860670\"\n      },\n    ],\n    authors: [\n      \"Sarah Andersen\",\n    ],\n    publisher: \"Andrews McMeel Publishing\",\n    years: [\n      \"2020\",\n    ],\n    body: \"\u003cp\u003eA funny comic book about a girl vampire and a boy werewolf. Filled with sarcastic humor, like:\u003c/p\u003e\u003cblockquote\u003e \u003cp\u003e- We should have a baby.\u003c/p\u003e\u003cp\u003e- For dinner?\u003c/p\u003e\u003cfooter\u003ep. 86\u003c/footer\u003e\u003c/blockquote\u003e \u003cp\u003eIt pokes fun at many of the vampire and werewolf and new love tropes.\u003c/p\u003e\",\n    start: \"2020-09-01\",\n    stop: \"2020-09-01\",\n    createdAt: new Date(),\n    updatedAt: new Date()\n  }\n)\n```\n\n## Making Changes\n\nYou can update NPM packages with:\n\n```bash\nnpm update\n```\n\nAfter committing your changes, push them to Heroku to update the running\nexample.\n\nChanges to the `main` branch should deploy automatically.  You can do a manual\ndeployment with:\n\n```bash\ngit push heroku main\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeantessier%2Fmean-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeantessier%2Fmean-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeantessier%2Fmean-sample/lists"}