{"id":17465253,"url":"https://github.com/feenr/mean-hero","last_synced_at":"2026-04-17T00:33:30.051Z","repository":{"id":143191294,"uuid":"133185453","full_name":"feenr/mean-hero","owner":"feenr","description":"Boilerplate for creating an application using the MEAN stack using the Tour of Heroes tutorial","archived":false,"fork":false,"pushed_at":"2018-10-10T03:32:52.000Z","size":285,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T08:26:35.200Z","etag":null,"topics":["angular","angular-material","angular6","angular6-boilerplate","angular6-sample","auth0","boilerplate","heroes-tutorial","heroesofthestorm","material-design","mean-stack","mongodb","stack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/feenr.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-12T21:42:01.000Z","updated_at":"2019-06-14T00:40:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4fab586-e70d-46cb-8762-9e674508664d","html_url":"https://github.com/feenr/mean-hero","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenr%2Fmean-hero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenr%2Fmean-hero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenr%2Fmean-hero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenr%2Fmean-hero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feenr","download_url":"https://codeload.github.com/feenr/mean-hero/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245991562,"owners_count":20706125,"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":["angular","angular-material","angular6","angular6-boilerplate","angular6-sample","auth0","boilerplate","heroes-tutorial","heroesofthestorm","material-design","mean-stack","mongodb","stack"],"created_at":"2024-10-18T11:09:21.239Z","updated_at":"2026-04-17T00:33:25.025Z","avatar_url":"https://github.com/feenr.png","language":"TypeScript","readme":"[![Build Status](https://travis-ci.com/feenr/mean-hero.svg?branch=master)](https://travis-ci.com/feenr/mean-hero)\n\n# MEAN Hero\n\n## Overview\nThis project serves as the boilerplate for an application using the MEAN stack. I hope to use it for my own personal angular projects, but I think it's also a good start for others looking to introduce themselves to MEAN.\n\nThis project takes the result of the [Tour Of Heroes angular tutorial](https://angular.io/tutorial) and extends it to use Express, Mongo DB, Node.js, Auth0 for Authentication and Heroku for deploying builds. This should make this project a great starting point for developers just getting started with angular.\n\nMuch of the project design comes from [mean.io](https://github.com/linnovate/mean). However, it is using Angular version 6, and the latest version of all MEAN dependencies. The ability to use the ng-cli should make extending this boilerplate significantly easier.\n\n## Running the sample app\nUsing angular dev server\n```\n// Mongo db should be installed and started. \n\u003e npm install\n\u003e npm start\n\u003e npm start-ng\n// Navigate to http://localhost:4200/\n```\nUsing an Express server with generated static content\n```\n// Mongo db should be installed and started. \n\u003e npm install\n\u003e npm build\n\u003e npm start\n// Navigate to http://localhost:4040/\n```\n\nWith Docker\n```\n\u003e docker-compose up\n// Navigate to http://localhost:4200/\n```\n\n\n# Angular\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.0.\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n\n# Express\n- Express server can be started with `node src/server-start.js`\n- Once the angular project has been built, it will be hosted automatically by express\n- The heroes API can be found at `http://localhost:4040/api/heroes`\n# Mongo DB\n- Default db is named `mean`\n- Default port is `27017`\n- Configuration can be updated in `.env`\n# Docker\n- To start a dockerized version of your application, use `docker-compose up`\n# Auth0\n- This project uses [Auth0](https://auth0.com/) for authentication.\n# Heroku \n- This project is configured to deploy on Heroku.\n- Latest version can be viewed at this URL https://mean-hero.herokuapp.com/heroes. This may take up to a minute to start up as the app server sleeps after 30 minutes of inactivity\n# The sample app\n### Dashboard\n![image](https://user-images.githubusercontent.com/83574/46040447-510ed780-c0de-11e8-98f7-5684a33130d5.png)\n### Hero list\n![image](https://user-images.githubusercontent.com/83574/46040451-5409c800-c0de-11e8-84e5-223bd580733e.png)\n### Update hero\n![image](https://user-images.githubusercontent.com/83574/46040459-5704b880-c0de-11e8-8922-01206637a7ae.png)\n### Heroes of the storm data\nTo make this project a little bit more exciting, I have added the ability to load the database with heroes from Heroes of the Storm. An export of hero data from the game can be generated using [this project](https://github.com/koliva8245/HeroesDataParser). The output JSON can be passed as the body for the service ```localhost:4040/heroes/bulkimport```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenr%2Fmean-hero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeenr%2Fmean-hero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenr%2Fmean-hero/lists"}