{"id":28911435,"url":"https://github.com/byntangxyz/fullstack-js-with-auth","last_synced_at":"2026-04-09T20:08:21.733Z","repository":{"id":300307088,"uuid":"1005663063","full_name":"byntangxyz/fullstack-js-with-auth","owner":"byntangxyz","description":"React + Express + MongoDB, a javascript fullstack with authentication","archived":false,"fork":false,"pushed_at":"2025-07-01T13:48:38.000Z","size":3157,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-01T14:45:18.438Z","etag":null,"topics":["authentication","expressjs","fullstack","javascript","mongodb","reactjs","template"],"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/byntangxyz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-20T15:39:58.000Z","updated_at":"2025-07-01T13:48:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"21a12554-89c7-4135-9897-4b977164658b","html_url":"https://github.com/byntangxyz/fullstack-js-with-auth","commit_stats":null,"previous_names":["byntangxyz/fullstack-js-with-auth"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/byntangxyz/fullstack-js-with-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byntangxyz%2Ffullstack-js-with-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byntangxyz%2Ffullstack-js-with-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byntangxyz%2Ffullstack-js-with-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byntangxyz%2Ffullstack-js-with-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byntangxyz","download_url":"https://codeload.github.com/byntangxyz/fullstack-js-with-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byntangxyz%2Ffullstack-js-with-auth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265883613,"owners_count":23843792,"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":["authentication","expressjs","fullstack","javascript","mongodb","reactjs","template"],"created_at":"2025-06-21T19:08:19.403Z","updated_at":"2026-04-09T20:08:21.688Z","avatar_url":"https://github.com/byntangxyz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Template with Auth\n\n![Preview-1](./preview/home-d.png)\n\n\nWell you're Javascript ethusiast? You want to build a web application with a backend and a frontend only using javascript? This template may be for you!\n\nI've been creating a template for a web application using Express, ReactJS and MongoDB. This template includes simple authentication system and dashboard with middleware protection. Here's are all the ✨ Features:\n\n- 🔐 Register \u0026 Login using JWT\n- 🧱 Protected Routes (Dashboard, Settings)\n- ⚙️ Change Password, Logout, and Delete Account\n- 🌗 Dark Mode Support\n- 🎨 Responsive TailwindCSS UI\n- 🔧 Structured backend (Controller, Middleware, Model)\n- 🔥 Integrated directly between frontend and backend\n\n## Folder Structure\n\n```bash\n\n📦project-root\n├─ 📁server/\n│  ├─ controllers/\n│  ├─ middleware/\n│  ├─ models/\n│  ├─ routes/\n│  ├─ server.js\n│  └─ .env.example\n├─ 📁src/\n│  ├─ pages/\n│  ├─ context/\n│  ├─ layout/\n│  └─ main.jsx\n├─ 📁public/\n├─ package.json\n└─ README.md\n\n```\n\n## Installation Guide\n\n### 1. Clone Repository\n\n```bash\ngit clone https://github.com/byntangxyz/fullstack-js-with-auth.git\ncd fullstack-js-with-auth\n```\n\n### 2. Install Dependencies\n\nUsing npm:\n\n```bash\nnpm install\n```\n\nUsing pnpm:\n\n```bash\npnpm install\n```\n\n### 3. Setup Environment Variables\n\n```bash\ncp server/.env.example server/.env\n\n```\n\nYou can modify the `.env` file to suit your needs. Here are the default configuration:\n```env\nMONGO_URI=mongodb://localhost:27017/yourdb\nJWT_SECRET=iloveyoursister\nPORT=5000\n```\n\u003e Make sure you've installed [MongoDB](https://www.mongodb.com/try/download/community) on your computer\n\n\n### 4. Run the Application\n\n```bash\nnpm run dev\n```\n\nScript Avaliable:\n\n| Script     | Commands                                           |\n| ---------- | -------------------------------------------------- |\n| dev        | concurrently \\\"npm:dev-client\\\" \\\"npm:dev-server\\\" |\n| dev-client | vite                                               |\n| dev-server | nodemon server/server.js                           |\n| build      | vite build                                         |\n| preview    | vite preview                                       |\n| lint       | eslint .                                           |\n\n### 5. Start Editing the App\n\nEdit `/server` folder to edit Backend section. And edit `/src` to start editing the Client page (Frontend).\n\n## Contribution?\n\nFeel free to contribute to this project by opening a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyntangxyz%2Ffullstack-js-with-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyntangxyz%2Ffullstack-js-with-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyntangxyz%2Ffullstack-js-with-auth/lists"}