{"id":19270845,"url":"https://github.com/ddsuhaimi/fullstack-boilerplate","last_synced_at":"2026-04-13T03:02:55.947Z","repository":{"id":52447655,"uuid":"495853178","full_name":"ddsuhaimi/fullstack-boilerplate","owner":"ddsuhaimi","description":"Fullstack boilerplate using next.js, node.js, express, , typescript, postgresql and typeorm","archived":false,"fork":false,"pushed_at":"2023-01-15T16:22:19.000Z","size":442,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-05T13:11:13.675Z","etag":null,"topics":["express","fullstack-boilerplate","fullstack-javascript","fullstack-javascript-boilerplate","nextjs","nodejs","react","starter-template","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/ddsuhaimi.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}},"created_at":"2022-05-24T14:12:53.000Z","updated_at":"2024-10-07T09:57:58.000Z","dependencies_parsed_at":"2023-02-09T23:00:46.299Z","dependency_job_id":null,"html_url":"https://github.com/ddsuhaimi/fullstack-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/ddsuhaimi%2Ffullstack-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddsuhaimi%2Ffullstack-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddsuhaimi%2Ffullstack-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddsuhaimi%2Ffullstack-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddsuhaimi","download_url":"https://codeload.github.com/ddsuhaimi/fullstack-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371759,"owners_count":19790888,"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","fullstack-boilerplate","fullstack-javascript","fullstack-javascript-boilerplate","nextjs","nodejs","react","starter-template","typescript"],"created_at":"2024-11-09T20:27:44.288Z","updated_at":"2026-04-13T03:02:50.899Z","avatar_url":"https://github.com/ddsuhaimi.png","language":"TypeScript","readme":"## About\n\nA boilerplate to create full stack web application. Built with monorepo so you can replace frontend and backend easily.\n\n## Tech Stack\n\nBoth backend and frontend use typescript. Not really a fan of it, but I think that's the modern and expected stack for modern web projects these days.\n\n### Frontend\n\n- Typescript\n- Next.js\n- Material UI\n\n### Backend\n\n- Typescript\n- Node.js with express\n- Postgresql\n- Typeorm\n\n## Features\n\n### Frontend\n\n- will have dashboard and landing page layout\n- built with next.js, so enhancement from next.js is built in out of the box\n\n### Backend\n\n- standardized express response\n  - you can call `res.customSuccess()` for success response and `catch(customeError)` to pass the error to error middleware and return error response\n- easily change database orm\n  - the layers in the backend are route -\u003e controller -\u003e service -\u003e dao. Technically, you can change the orm or use different database in dao level\n\n## Usage\n\n- If you don't have `nx` installed globally, then simply run `npx nx dev server` to run backend or `npx nx dev web` to run frontend.\n- Or you can run `yarn dev` and it will run both backend and frontend\n\n## Guide\n### Frontend\n- frontend packages is located under `packages/web`\n- it uses next js 13 with new app directory as default. You can switch to normal packages directory with these steps:\n1. change `packages/web/next.config.js` to disable new _app directory\n  ```\n    const nextConfig = {\n      reactStrictMode: true,\n      experimental: {\n        appDir: true,\n      },\n    };\n  ```\n2. Rename `packages/web/app` to `packages/web/_app`, or you can remove the folder instead if you are sure you will not be reverting back to new app directory structure\n3. Rename `packages/web/_pages` to `packages/web/pages`  \n\n## Todo\n\nI will add more features in the future. Currently will focus more on tooling first like setting up eslint.\n\n- [X] Server - Eslint\n- [X] Server - Prettier\n- [X] Web - Eslint\n- [X] Web - Prettier","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddsuhaimi%2Ffullstack-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddsuhaimi%2Ffullstack-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddsuhaimi%2Ffullstack-boilerplate/lists"}