{"id":41757247,"url":"https://github.com/coderade/mean-courses","last_synced_at":"2026-01-25T01:39:46.445Z","repository":{"id":42518560,"uuid":"49541862","full_name":"coderade/mean-courses","owner":"coderade","description":"Courses application developed using the MEAN Stack - MongoDB, Express, AngularJS and Node.js","archived":false,"fork":false,"pushed_at":"2025-01-19T06:30:27.000Z","size":2546,"stargazers_count":3,"open_issues_count":29,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T07:31:08.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/coderade.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}},"created_at":"2016-01-13T01:54:03.000Z","updated_at":"2021-10-18T12:12:06.000Z","dependencies_parsed_at":"2023-12-20T10:38:34.518Z","dependency_job_id":"c988fb63-980c-4d2c-a54e-cc19f0eb9832","html_url":"https://github.com/coderade/mean-courses","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderade/mean-courses","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderade%2Fmean-courses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderade%2Fmean-courses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderade%2Fmean-courses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderade%2Fmean-courses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderade","download_url":"https://codeload.github.com/coderade/mean-courses/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderade%2Fmean-courses/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28741109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T01:25:41.653Z","status":"ssl_error","status_checked_at":"2026-01-25T01:25:34.364Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-25T01:39:46.290Z","updated_at":"2026-01-25T01:39:46.423Z","avatar_url":"https://github.com/coderade.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mean Courses\n![Mean Courses](meancourses.png)\n\n![Not Maintained](https://img.shields.io/badge/Maintenance%20Level-Not%20Maintained-yellow.svg)\n\n**This project has been developed in 2015 for the purpose of studying the [MEAN](https://github.com/linnovate/mean) stack and is not maintained anymore. Some libraries are being updated using the [Dependabot](https://dependabot.com/) and [Snyk.io](https://snyk.io/) services, but no further tests are being done.**\n\nSimple course application developed using the MEAN Stack. In this application, you can log in and create new users, manage these users using an *Admin* account and create and view the courses.\n\nThis project is a web application developed for didactic purposes, being its main objective to study the [MEAN](http://mean.io/) Stack([MongoDB](https://www.mongodb.org/), [Express](http://expressjs.com), [AngularJS](https://angularjs.org/) and [Node.js](https://nodejs.org/)) and related technologies.\n\n### Used technologies\n\nAlthough this project is a simple application, many technologies were used to develop it.\n\nAnd the main were:\n\n#### Client-side\n\n* [AngularJS](https://angularjs.org/) -  the frontend part of the MEAN stack used to extend the HTML vocabulary for the application using a **[MV*](http://www.sitepoint.com/anatomy-javascript-mv-framework/)** architecture.\n* [Bootstrap](http://getbootstrap.com/) - a front end web framework used to help create web apps in a faster and easier way.\n\n#### Server-side\n* [Node.js](https://nodejs.org) - an open-source, cross-platform runtime environment for developing server-side Web applications.\n* [Express](http://expressjs.com) - a Node.js web application server framework, designed for building single-page, multi-page, and hybrid web application\n* [Jade](http://jade-lang.com) - a terse language for writing HTML templates.\n* [Stylus](http://stylus-lang.com) - a revolutionary new language, providing an efficient, dynamic, and expressive way to generate CSS.\n* [Passport](http://passportjs.org) - a authentication middleware for Node.js. Used to create the login interface in the server.\n* [Mongoose](http://mongoosejs.com) - MongoDB object modeling tool designed to work in an asynchronous environment.\n\n#### Database\n* [MongoDB](https://www.mongodb.org/) - a cross-platform document-oriented NoSQL database.\n\n#### Testing\n* [Karma](http://karma-runner.github.io) - a simple and flexible tool for executing JavaScript tests.\n* [Mocha](https://mochajs.org/) - A test framework running on node.js and the browser which runs tests serially, mapping uncaught exceptions to the correct test cases.\n\n## Testing on Heroku\n\nYou can test this application on [Heroku](https://www.heroku.com/) using this link: https://mean-courses.herokuapp.com\n\nTo log in with the admin account, use the email **admin@meancourses.com** and the password **root**.\n\nYou can also login using a default account using the email **default@meancourses.com** and the password **default**.\n\n\n\n## How to use\nYou need to have MongoDB installed. If you don't have it  you can install the MongoDB using the official \n[documentation](https://docs.mongodb.org/manual/installation/).\n\nDownload and install the Node.Js using the [NVM](https://github.com/creationix/nvm).\n\nInstall the [yarn](https://yarnpkg.com/en/) following the official \n[documentation](https://yarnpkg.com/lang/en/docs/install/#linux-tab).\n\nClone the repository and install the node modules.\n\n`yarn install`\n\nInstall the Bower globally:\n\n`yarn global add bower`\n\nInstall the Bower components:\n\n`bower install`\n\nAfter this, you can run the application.\n\n***\n\n### Running the application\n\nIf you are using a Linux machine use the terminal to go to the root of the project and run the command `node server.js`.\n\nIf you are on a Windows machine, install the bash shell.  Optionally you may run server.bat.  Note that\nafter you stop your server, you must change the directory back to the root of the project.\n\nThen navigate your browser to `http://localhost:\u003cport\u003e` to see the app running in your browser.  The port may be configured in the server/config/config.js file. The default port is 3030.\n\n#### Logging in\n\nTo log in, you can use the default created users *admin* and *default* using the **admin@meancourses.com** and the password **root** and the email **default@meancourses.com** and the password **default**.\n\nYou can create your user using the signup page.\n\n## Running the tests\n\nTo run the test, you need to configure your environment. To do this you need to install [Karma](https://karma-runner.github.io) and install all the node modules and bower components modules needed to run this application as shown above.\n\n#### Unit tests\n\nI created an article in my blog on how to configure the Karma for tests in the WebStorm IDE and how to run Unit tests that you can see in this [link](http://coderade.in/configure-karma-webstorm).\n\n***\n\n## Deploying on Heroku\n\nThis application is configured for your deployment on Heroku. First, you need to create a MongoDB database on the [MongoLab](https://mlab.com/) site.\n\n#### Creating a MongoDB database on MongoLab\n\nTo create your account and MongoDB database on MongoLab we can use follow this tutorial: [Getting Started with Mongolab](http://www.sitepoint.com/getting-started-with-mongolab/).\n\nAfter create your database on MongoLab, you need to change the option `production.db` on the file `server/config/config.js` like this example:\n\n```\nproduction: {\n        rootPath: rootPath,\n        db:'mongodb://user:password@mongolab.host:port/database',\n        port: process.env.PORT || 80\n    }\n```\n\nAfter doing this. We can deploy.\n\n#### Deploying\n\nTo deploy, you can follow this [tutorial](https://devcenter.heroku.com/articles/deploying-nodejs).\n\n\n***\n\nFor more information on Mean Stack please check out [Mean](http://mean.io).\n\nIf you have some questions about this project, please [contact me](http://coderade.in/contact) and I will try to answer as quickly as possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderade%2Fmean-courses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderade%2Fmean-courses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderade%2Fmean-courses/lists"}