{"id":15043437,"url":"https://github.com/gilamran/fullstack-typescript","last_synced_at":"2025-04-08T11:09:48.721Z","repository":{"id":20169012,"uuid":"86501435","full_name":"gilamran/fullstack-typescript","owner":"gilamran","description":"FAST FullStack React with TypeScript starter kit.","archived":false,"fork":false,"pushed_at":"2025-03-31T19:23:53.000Z","size":3751,"stargazers_count":373,"open_issues_count":4,"forks_count":55,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-01T09:33:03.217Z","etag":null,"topics":["es6","fullstack","minimal","react","react-router","starter-kit","typescript","webpack"],"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/gilamran.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":"2017-03-28T19:55:36.000Z","updated_at":"2025-03-31T19:23:50.000Z","dependencies_parsed_at":"2023-12-10T13:22:56.145Z","dependency_job_id":"bf8a41d6-8671-449b-972a-ad0ab0754a68","html_url":"https://github.com/gilamran/fullstack-typescript","commit_stats":{"total_commits":220,"total_committers":11,"mean_commits":20.0,"dds":"0.44545454545454544","last_synced_commit":"3594294302610f0b55bf307cc53e8ec0d0534915"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilamran%2Ffullstack-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilamran%2Ffullstack-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilamran%2Ffullstack-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilamran%2Ffullstack-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilamran","download_url":"https://codeload.github.com/gilamran/fullstack-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829511,"owners_count":21002997,"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":["es6","fullstack","minimal","react","react-router","starter-kit","typescript","webpack"],"created_at":"2024-09-24T20:49:02.659Z","updated_at":"2025-04-08T11:09:48.706Z","avatar_url":"https://github.com/gilamran.png","language":"TypeScript","readme":"# FAST FullStack React with TypeScript starter kit.\n\n\u003cimg src=\"https://github.com/gilamran/fullstack-typescript/raw/master/assets/images/logo.png\" width=\"150\"\u003e\n\n---\n\n## Quick Start\n\nIf you're using Github, you can click on the \"Use this template\" button to create a new repository based on this starter kit.\n\n## Clean example code\nThe repo comes with some examples on how to do basic stuff. As this is not really needed in real projects, you can remove them by running:\n```\nyarn clean-up-example-code\n```\n\n## Manual clone\nclone this repository into your own project folder. and start working\n\n```bash\ngit clone https://github.com/gilamran/fullstack-typescript.git \u003cMyProjectName\u003e\ncd \u003cMyProjectName\u003e\nyarn\nyarn dev\n```\n\nIf you want to detach from this repository into your own repository do this:\n\n```bash\ngit remote remove origin\ngit remote add origin YOUR_REPO_URL\ngit push -u origin master\n```\n\n## Why\n\n- **Simple** to jump into, **Fast** because it is simple.\n- Separate `tsconfig.json` for client and server.\n- Client and server can share code (And types). For example: [IUserDTO.d.ts](https://github.com/gilamran/fullstack-typescript/blob/master/src/shared/IUserDTO.d.ts)\n- The client is bundled using [Vite](https://github.com/vitejs/vite) because it goes to the browser.\n- The server is emitted by [TypeScript](https://github.com/Microsoft/TypeScript) because node now supports es6.\n\n\u003cp align=\"center\"\u003e \n\u003cimg src=\"https://github.com/gilamran/fullstack-typescript/raw/master/assets/images/flow.png\" width=\"500\"\u003e\n\u003c/p\u003e\n\n---\n\n## Requirements\n\n- `NodeJs 22.12.+`, `Chrome 79+` or `FireFox 72+`\n\n### Directory Layout\n\n```bash\n.\n├── /node_modules/                    # 3rd-party libraries and utilities\n├── /dist/                            # All the generated files will go here, and will run from this folder\n├── /src/                             # The source code of the application\n│   ├── /client/                      # React app\n│   ├── /server/                      # Express server app\n│   ├── /shared/                      # The shared code between the client and the server\n├── /assets/                          # images, css, jsons etc.\n├── .eslintrc                         # es-lint configuration\n├── .prettierec                       # prettier configuration\n├── .gitignore                        # ignored git files and folders\n├── .nvmrc                            # Force nodejs version\n├── .env                              # (ignored) Can be used to override environment variables\n├── index.js                          # The server's entry point\n├── package.json                      # The list of 3rd party libraries and utilities\n├── README.md                         # This file\n```\n\n### What's included\n\n- [React v19](https://facebook.github.io/react/)\n- [React router v6](https://github.com/ReactTraining/react-router)\n- [Material-ui v5](https://github.com/mui-org/material-ui)\n- [emotion](https://emotion.sh/docs/introduction)\n- [Axios](https://github.com/mzabriskie/axios) (For Client/Server communication)\n\n### Usage\n\n- `yarn dev` - Client and server are in watch mode with source maps, opens [http://localhost:3000](http://localhost:3000)\n- `yarn lint` - Runs es-lint\n- `yarn build` - `dist` folder will include all the needed files, both client (Bundle) and server.\n- `yarn start` - Just runs `node ./dist/server/server.js`\n- `yarn start:prod` - sets `NODE_ENV` to `production` and then runs `node ./dist/server/server.js`. (Bypassing vite)\n\n### Config\n\nAll applications require a config mechanism, for example, `SLACK_API_TOKEN`. Things that you don't want in your git history, you want a different environment to have different value (dev/staging/production). This repo uses the file `config.ts` to access all your app variables. And a `.env` file to override variable in dev environment. This file is ignored from git.\n\n---\n\n#### What's not included\n\n- Server side rendering\n- Redux/MobX/Zustand (State management)\n\n---\n\n#### Licence\n\nThis code is released as is, under MIT licence. Feel free to use it for free for both commercial and private projects. No warranty provided.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilamran%2Ffullstack-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilamran%2Ffullstack-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilamran%2Ffullstack-typescript/lists"}