{"id":33319642,"url":"https://github.com/dappboris-dev/mern-temp","last_synced_at":"2026-06-07T21:01:52.162Z","repository":{"id":232964471,"uuid":"785075563","full_name":"dappboris-dev/mern-temp","owner":"dappboris-dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-11T06:32:46.000Z","size":36060,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T17:49:00.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dappboris-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2024-04-11T06:30:25.000Z","updated_at":"2024-12-18T23:28:11.000Z","dependencies_parsed_at":"2024-04-12T18:20:52.693Z","dependency_job_id":null,"html_url":"https://github.com/dappboris-dev/mern-temp","commit_stats":null,"previous_names":["husreo/mern-temp","dappboris-dev/mern-temp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dappboris-dev/mern-temp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappboris-dev%2Fmern-temp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappboris-dev%2Fmern-temp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappboris-dev%2Fmern-temp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappboris-dev%2Fmern-temp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dappboris-dev","download_url":"https://codeload.github.com/dappboris-dev/mern-temp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappboris-dev%2Fmern-temp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285327645,"owners_count":27152947,"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","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-11-19T21:02:35.390Z","updated_at":"2025-11-19T21:03:00.228Z","avatar_url":"https://github.com/dappboris-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n🌐 MERN Stack\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\nMongoDB, Expressjs, React/Redux, Nodejs\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://github.com/amazingandyyy/mern/blob/master/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/License-MIT-green.svg\" /\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://circleci.com/gh/amazingandyyy/mern\"\u003e\n      \u003cimg src=\"https://circleci.com/gh/amazingandyyy/mern.svg?style=svg\" /\u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e MERN is a fullstack implementation in MongoDB, Expressjs, React/Redux, Nodejs.\n\nMERN stack is the idea of using Javascript/Node for fullstack web development.\n\n## clone or download\n```terminal\n$ git clone https://github.com/amazingandyyy/mern.git\n$ yarn # or npm i\n```\n\n## project structure\n```terminal\nLICENSE\npackage.json\nserver/\n   package.json\n   .env (to create .env, check [prepare your secret session])\nclient/\n   package.json\n...\n```\n\n# Usage (run fullstack app on your machine)\n\n## Prerequisites\n- [MongoDB](https://gist.github.com/nrollr/9f523ae17ecdbb50311980503409aeb3)\n- [Node](https://nodejs.org/en/download/) ^10.0.0\n- [npm](https://nodejs.org/en/download/package-manager/)\n\nnotice, you need client and server runs concurrently in different terminal session, in order to make them talk to each other\n\n## Client-side usage(PORT: 3000)\n```terminal\n$ cd client          // go to client folder\n$ yarn # or npm i    // npm install packages\n$ npm run dev        // run it locally\n\n// deployment for client app\n$ npm run build // this will compile the react code using webpack and generate a folder called docs in the root level\n$ npm run start // this will run the files in docs, this behavior is exactly the same how gh-pages will run your static site\n```\n\n## Server-side usage(PORT: 8000)\n\n### Prepare your secret\n\nrun the script at the first level:\n\n(You need to add a JWT_SECRET in .env to connect to MongoDB)\n\n```terminal\n// in the root level\n$ cd server\n$ echo \"JWT_SECRET=YOUR_JWT_SECRET\" \u003e\u003e src/.env\n```\n\n### Start\n\n```terminal\n$ cd server   // go to server folder\n$ npm i       // npm install packages\n$ npm run dev // run it locally\n$ npm run build // this will build the server code to es5 js codes and generate a dist file\n```\n\n## Deploy Server to [Heroku](https://dashboard.heroku.com/)\n```terminal\n$ npm i -g heroku\n$ heroku login\n...\n$ heroku create\n$ npm run heroku:add \u003cyour-super-amazing-heroku-app\u003e\n// remember to run this command in the root level, not the server level, so if you follow the documentation along, you may need to do `cd ..`\n$ pwd\n/Users/\u003cyour-name\u003e/mern\n$ npm run deploy:heroku\n```\n\n### After creating heroku\n\nif using webpack:\nremember to update the file of [client/webpack.prod.js](https://github.com/amazingandyyy/mern/blob/master/client/webpack.prod.js)\n```javascript\n 'API_URI': JSON.stringify('https://your-super-amazing-heroku-app.herokuapp.com')\n```\nif using parcel\nremember to update the file of [client/.env.production](https://github.com/amazingandyyy/mern/blob/master/client/.env.production.js)\n```\n REACT_APP_API_URI=https://your-super-amazing-heroku-app.herokuapp.com\n```\n# Dependencies(tech-stacks)\nClient-side | Server-side\n--- | ---\naxios: ^0.15.3 | bcrypt-nodejs: ^0.0.3\nbabel-preset-stage-1: ^6.1.18|body-parser: ^1.15.2\nlodash: ^3.10.1 | cors: ^2.8.1\nreact: ^16.2.0 | dotenv: ^2.0.0\nreact-dom: ^16.2.0 | express: ^4.14.0\nreact-redux: ^4.0.0 | jwt-simple: ^0.5.1\nreact-router-dom: ^4.2.2 | mongoose: ^4.7.4\nredux: ^3.7.2 | morgan: ^1.7.0\nredux-thunk: ^2.1.0 |\n\n# Screenshots of this project\n\nUser visit public and Home page\n![User visit public and Home page](http://i.imgur.com/ORCGHHY.png)\n\nUser can sign in or sign up\n![User can sign in or sign up](http://i.imgur.com/rrmbU5I.png)\n\nAfter signing in user can go to account route and make request to token-protected API endpoint\n![After signing in user can go to account route](http://i.imgur.com/FzLB51u.png)\n\n## Standard\n\n[![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard)\n\n## BUGs or comments\n\n[Create new Issues](https://github.com/amazingandyyy/mern/issues) (preferred)\n\nEmail Me: amazingandyyy@gmail.com (welcome, say hi)\n\n## Author\n[Amazingandyyy](https://amazingandyyy.com)\n\nI recently launch my monthly mentorship program, feel free to reach out and see what we can grow together:\n\n\u003ca href=\"https://mentorcruise.com/mentor/andychen/\"\u003e \u003cimg src=\"https://cdn.mentorcruise.com/img/banner/fire-sm.svg\" width=\"240\" alt=\"MentorCruise\"\u003e \u003c/a\u003e\n\n## Join the growing community\n\n[![Star History Chart](https://api.star-history.com/svg?repos=amazingandyyy/mern\u0026type=Date)](https://star-history.com/#amazingandyyy/mern\u0026Date)\n\n\n### License\n[MIT](https://github.com/amazingandyyy/mern/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappboris-dev%2Fmern-temp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdappboris-dev%2Fmern-temp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappboris-dev%2Fmern-temp/lists"}