{"id":28541237,"url":"https://github.com/benelferink/mern-template","last_synced_at":"2025-07-07T15:31:40.114Z","repository":{"id":39979743,"uuid":"323452378","full_name":"BenElferink/mern-template","owner":"BenElferink","description":"Quickstart your MERN stack (Fullstack) application with this template!","archived":false,"fork":false,"pushed_at":"2025-06-09T08:52:59.000Z","size":5359,"stargazers_count":68,"open_issues_count":2,"forks_count":22,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-09T09:19:44.354Z","etag":null,"topics":["express","javascript","js","mern","mern-stack","mongodb","mongoose","node-js","nodejs","reactjs","template","templates","ts","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/BenElferink.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,"zenodo":null}},"created_at":"2020-12-21T21:31:52.000Z","updated_at":"2025-06-09T08:31:18.000Z","dependencies_parsed_at":"2024-12-14T15:21:01.860Z","dependency_job_id":"2bf7e660-1dad-4888-ae69-24a8ff2a1871","html_url":"https://github.com/BenElferink/mern-template","commit_stats":null,"previous_names":["benelferink/mern-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/BenElferink/mern-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenElferink%2Fmern-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenElferink%2Fmern-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenElferink%2Fmern-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenElferink%2Fmern-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenElferink","download_url":"https://codeload.github.com/BenElferink/mern-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenElferink%2Fmern-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264103049,"owners_count":23557866,"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":["express","javascript","js","mern","mern-stack","mongodb","mongoose","node-js","nodejs","reactjs","template","templates","ts","typescript"],"created_at":"2025-06-09T19:38:30.356Z","updated_at":"2025-07-07T15:31:40.108Z","avatar_url":"https://github.com/BenElferink.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Stack Template\n\n\u003cimg src='https://raw.githubusercontent.com/BenElferink/mern-template/refs/heads/images/images/mern.jpeg' /\u003e\n\n- **M** = [MongoDB](https://www.mongodb.com)\n- **E** = [Express.js](https://expressjs.com)\n- **R** = [React.js](https://reactjs.org)\n- **N** = [Node.js](https://nodejs.org)\n\n\u003cbr /\u003e\n\n# What is this template?\n\nThis template allows you to quick-start your Fullstack application using the MERN stack, it has a server setup with some basic authentication, and a client ready to communicate with the backend.\n\n\u003cimg src='https://raw.githubusercontent.com/BenElferink/mern-template/refs/heads/images/images/preview.png' /\u003e\n\n\u003cbr /\u003e\n\n# How to use this template\n\n### 1. Generate repository from template:\n\nClick [\"Use this template\"](https://github.com/benelferink/mern-template/generate) to generate a\nnew repo, then open your terminal and clone your new repo.\n\n```\ngit clone https://github.com/[your_user_name]/[your_repo_name].git\n```\n\n### 2. Install dependencies:\n\nGo to the `server` folder, and run `install`.\n\n```\ncd ./server\nnpm i\n```\n\nGo to the `client` folder, and run `install`.\n\n```\ncd ./client\nnpm i\n```\n\n### 3. Prepare MongoDB:\n\nPrepare your MongoDB database (using [Atlas](https://www.mongodb.com/cloud/atlas),\nor [Community](\u003chttps://github.com/benelferink/mern-template/wiki/Install-MongoDB-Community-Server-(MacOS)\u003e)). Then configure your database within `server/src/constants/index.js` (or `server/src/.env`), by configuring the `MONGO_URI` variable.\n\n### 4. Start applications:\n\nGo to the `server` folder, and run `dev`.\n\n```\ncd ./server\nnpm run dev\n```\n\nGo to the `client` folder, and run `dev`.\n\n```\ncd ./client\nnpm run dev\n```\n\n### 5. Happy Coding !!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenelferink%2Fmern-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenelferink%2Fmern-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenelferink%2Fmern-template/lists"}