{"id":15496372,"url":"https://github.com/imranhsayed/mern-boilerplate","last_synced_at":"2025-04-22T21:29:29.380Z","repository":{"id":97032708,"uuid":"156344163","full_name":"imranhsayed/mern-boilerplate","owner":"imranhsayed","description":"A boilerplate for MERN APP ( Mongodb, Express, React, Node ) with Login, Registration with Facebook, Google and Recaptcha. Pre setup of mongodb","archived":false,"fork":false,"pushed_at":"2018-11-07T09:28:51.000Z","size":221,"stargazers_count":17,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-28T09:04:12.009Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imranhsayed.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":"2018-11-06T07:34:46.000Z","updated_at":"2021-11-10T13:38:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"a891e813-203e-4352-b3b8-dbd8fd53ea7a","html_url":"https://github.com/imranhsayed/mern-boilerplate","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/imranhsayed%2Fmern-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imranhsayed%2Fmern-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imranhsayed%2Fmern-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imranhsayed%2Fmern-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imranhsayed","download_url":"https://codeload.github.com/imranhsayed/mern-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250327782,"owners_count":21412498,"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":[],"created_at":"2024-10-02T08:24:54.526Z","updated_at":"2025-04-22T21:29:29.373Z","avatar_url":"https://github.com/imranhsayed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A MERN( Mongodb, Express, React, Node ) Boilerplate\n## Description\nHas following built in functionalities:\n\n-Login and Registration Routes with csrf Protection\n\n-Register with Facebook and Google along with Recaptcha verification\n\n-Login with Facebook and Google along with Recaptcha verification\n\n-Logout\n\n-Email Verification with Mailgun\n\n-Reset Password by sending the new password on email.\n\n-Form Validations at both client and server side.\n\n-Private Routes Option\n\n-Mongodb and Redux Setup\n\n-uses create-react-app\n\n\n## Installation Instructions\n\ngit clone https://github.com/imranhsayed/mern-boilerplate\n\n`$ cd mern-boilerplate`\n#### in root dir\n`$ npm cache clean --force`\n\n`$ npm install`\n#### in client dir\n`$ cd client`\n\n`$ npm cache clean --force`\n\n`$ npm install`\n\nInstall nodemon and create-react-app globally using below command:\n\n`$ npm i -D nodemon`\n\n`$ npm i -g create-react-app`\n\n## Set your Configurations\n### Mongodb Configuration\n\n1-Set your mongodb url with username and password in config/keys_dev.js and config/keys_prod.js\n`mongoURI: 'mongodb://\u003cdbUsername\u003e:\u003cdbPassword\u003e@ds151853.mlab.com:51853/yourUrl'`\n\n### Mailgun Configuration\n2-Set your mailgun username and password in config/mailer.js. Mailgun host configurations are in misc/mailer.js, which you dont need to change if you are using mailgun\n`MAILGUN_USER: 'XXX',\nMAILGUN_PASSWORD: 'XXX'`\n\n### Login with Facebook, Google, and Recaptcha Configuration\n3-Set the following configuration for Login with Facebook and Google and recaptcha in client/src/components/keys/keys.js\n`fbAppId = '1776585689892454';`\n`googleClientId = '1075202126460-37bbm5sr56a95uiuiijsr6gdo0rmn3.apps.googleusercontent.com';`\n`recaptchaSiteKey = '6LdnmHIUAAAAANu0uuiisudiseKUBqhslcTH8hvn9w';`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimranhsayed%2Fmern-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimranhsayed%2Fmern-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimranhsayed%2Fmern-boilerplate/lists"}