{"id":19595142,"url":"https://github.com/alesbe/mini-message-board","last_synced_at":"2025-04-27T15:34:25.610Z","repository":{"id":39673915,"uuid":"488701063","full_name":"alesbe/mini-message-board","owner":"alesbe","description":"An online message board made with MERN stack.","archived":false,"fork":false,"pushed_at":"2022-09-30T13:32:25.000Z","size":630,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T01:11:14.565Z","etag":null,"topics":["hacktoberfest","javascript","mern","message-board","mongodb","mongoose","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/alesbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-04T18:25:59.000Z","updated_at":"2024-08-13T01:56:31.000Z","dependencies_parsed_at":"2023-01-17T18:15:37.096Z","dependency_job_id":null,"html_url":"https://github.com/alesbe/mini-message-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/alesbe%2Fmini-message-board","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesbe%2Fmini-message-board/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesbe%2Fmini-message-board/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesbe%2Fmini-message-board/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alesbe","download_url":"https://codeload.github.com/alesbe/mini-message-board/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251162936,"owners_count":21545847,"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":["hacktoberfest","javascript","mern","message-board","mongodb","mongoose","nodejs","rest-api"],"created_at":"2024-11-11T08:45:54.663Z","updated_at":"2025-04-27T15:34:22.259Z","avatar_url":"https://github.com/alesbe.png","language":"JavaScript","readme":"# 💬 Mini message board\n![browser view](https://i.imgur.com/sAtFsLp.png)\n\nA lightweight message board made with [MongoDB](https://www.mongodb.com/), [Express](https://expressjs.com/), [React](https://es.reactjs.org/), and [NodeJS](https://nodejs.dev/).\n\n## 📚 Libraries and tools used\n### Frontend\n- [React](https://reactjs.org/): Frontend design\n- [Axios](https://axios-http.com/): GET/POST requests with backend\n\n### Backend\n- [Node](https://nodejs.dev/): Backend environment.\n- [Express](https://expressjs.com/es/): Requests management\n- [Mongoose](https://mongoosejs.com/): MongoDB connection and object modeling\n- [CORS](https://www.npmjs.com/package/cors): Library to allow [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing)\n- [Nodemon](https://www.npmjs.com/package/nodemon) *(dev)*: Library to hot reload the server on change\n\n### Database\n- [MongoDB](https://www.mongodb.com/): A NoSQL database\n\n### Deployment\n- [Docker](https://www.docker.com/): Project bundler in OS-level virtualization containers to work in any environment\n\n## ⚙️ Run the app\nDefault ports:\n- **Backend: `8000`**\n- **Frontend: `3000`**\n- **MongoDB: `27017`**\n### Option 1 (recommended): 🐳 Docker\n#### Download the source code\n```\ngit clone https://github.com/alesbe/mini-message-board.git\ncd mini-message-board\n```\n\n#### Run Docker Compose\n```\ndocker-compose up\n```\n\n### Option 2: Run the project yourself\nYou'll need 3 different terminals, because each part works individually and does not support detached mode without docker.\n#### 1.- Setup database\nDownload [mongodb](https://www.mongodb.com/) and start the process\n```\nmongod\n```\n\n#### 2.- Download the source code\n```\ngit clone https://github.com/alesbe/mini-message-board.git\ncd mini-message-board\n```\n\n#### 3.- Setup backend server\nGo to `server` folder and install dependencies\n```\ncd server\nnpm install\n```\nThen, start the server\n```\nnode server.js\n```\n\n#### 4.- Setup frontend\nGo to project root folder and cd into `client`, then, install dependencies\n\n```\ncd client\nnpm install\n```\nThen, start the client\n```\nnpm start\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falesbe%2Fmini-message-board","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falesbe%2Fmini-message-board","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falesbe%2Fmini-message-board/lists"}