{"id":20383506,"url":"https://github.com/smerth/mean-discussion-board","last_synced_at":"2026-04-10T14:36:54.249Z","repository":{"id":147044624,"uuid":"77707952","full_name":"smerth/mean-discussion-board","owner":"smerth","description":"A discussion board built with Angular v.1 on the front-end and ExpressJS, NodeJS and MongoDB on the back-end.","archived":false,"fork":false,"pushed_at":"2019-01-11T22:46:14.000Z","size":333,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T07:58:45.731Z","etag":null,"topics":["angular","express-js","mongodb","node-js"],"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/smerth.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-12-30T20:10:00.000Z","updated_at":"2022-06-17T16:42:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"460cc220-2cd7-45d8-bd43-ab849c16ece3","html_url":"https://github.com/smerth/mean-discussion-board","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/smerth%2Fmean-discussion-board","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fmean-discussion-board/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fmean-discussion-board/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fmean-discussion-board/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smerth","download_url":"https://codeload.github.com/smerth/mean-discussion-board/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935267,"owners_count":20044826,"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","express-js","mongodb","node-js"],"created_at":"2024-11-15T02:23:09.880Z","updated_at":"2025-12-30T19:20:00.926Z","avatar_url":"https://github.com/smerth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MEAN - Discussion Board\n\n![App Screenshot](https://raw.githubusercontent.com/smerth/mean-discussion-board/master/screenshot.png)\n\n## The MEAN Stack\n\n- Mongo DB -\u003e used to store data\n- ExpressJS -\u003e used to build the server\n- AngularJS -\u003e used to build the UI\n- Node -\u003e server-side JavaScript environment used to run the Express server\n\n## The Project\n\nThis project has two parts:\n\nThe Discussion Board Front-end: A Discussion Board built with Angular 1 on the Yeoman \"[generator-gulp-angular](https://github.com/swiip/generator-gulp-angular#readme)\" generator. Presents the user with a simple UI for messaging.\n\nThe Discussion Board Server: An ExpressJS Server and MongoDB to serve and save messages.\n\nThis project is based on the lynda.com course [MEAN Stack and MongoDB Development Techniques](https://www.lynda.com/Express-js-tutorials/MEAN-Stack-MongoDB-Development-Techniques/)\n\n## Installation\n\n**_N.B. You must have MongoDB installed to run the Discussion Board Server._**\n\n### Clone project\n\n```bash\ngit clone\n```\n\n### Start MongoDB\n\n@ Discussion Board Server folder\n\n```bash\nulimit -n 2048 \u0026\u0026 mongod\n```\n\nOn a Mac you may see a warning when starting the Mongo daemon.\n\n```bash\n** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000\n```\n\nSetting the `ulimit -n 2048` variable before running mongod should solve that issue.\n\nIf the Mongo Daemon is successfully started you should see Mongo listening for connections.\n\n```bash\n[initandlisten] waiting for connections on port 27017\n```\n\nKeep this terminal open while running the app so you can see the Mongo activity logged.\n\n### Start Mongo Console\n\nIn a separate terminal\n\n```bash\nmongo\n```\n\nThis opens the Mongo console and connects the console to the \"test\" Mongo database. Back in the Mongo daemon terminal you can see that the Mongo console has made this connection.\n\n```bash\nconnection accepted from 127.0.0.1:53720 #1 (1 connection now open)\n```\n\n### Setup the Discussion Board Front-end\n\nInstall the Discussion Board Front-end dependacies\n\n```bash\nnpm install \u0026\u0026 bower install\n```\n\nThe Discussion Board Front-end is built with Angular on top of the Yeoman \"[generator-gulp-angular](https://github.com/swiip/generator-gulp-angular#readme)\" generator. So you can use the build and run processes available to that generator:\n\n#### Gulp commands\n\n- `gulp` or `gulp build` to build an optimized version of your application in `/dist`\n- `gulp serve` to launch a browser sync server on your source files\n- `gulp serve:dist` to launch a server on your optimized application\n- `gulp test` to launch your unit tests with Karma\n- `gulp test:auto` to launch your unit tests with Karma in watch mode\n- `gulp protractor` to launch your e2e tests with Protractor\n- `gulp protractor:dist` to launch your e2e tests with Protractor on the dist files\n\nTo start the Discussion Board Front-end:\n\n@ Discussion Board Front-end folder\n\n```bash\ngulp serve\n```\n\nThis opens a Discussion Board Front-end UI at \"http://localhost:3000/\"\n\n### Start Discussion Board Server\n\nInstall dependancies\n\n@ Discussion Board folder\n\n```\nnpm install\n```\n\n@ Discussion Board folder\n\n```\nnode server.js\n```\n\nThis starts the Discussion Board server\n\n```bash\nlistening on port:  5000\nWe are connected to mongo\n```\n\nNow you can open multiple browser windows and register a user and begin posting to the Discussion Board...\n\n## Caveats\n\nThis project shows how to integrate a node and express server with an angular front-end but there is no backend for managing users and content. User authentication is only glossed over and the UI is unfinished as it doesn't even offer feedback to tell a user they are logged in or offer a logout link.\n\nBut, it may be a starting point for a more robust Discussion Board...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmerth%2Fmean-discussion-board","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmerth%2Fmean-discussion-board","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmerth%2Fmean-discussion-board/lists"}