{"id":21157776,"url":"https://github.com/lmachens/vite-boilerplate","last_synced_at":"2025-07-09T12:33:19.442Z","repository":{"id":48278763,"uuid":"363911790","full_name":"lmachens/vite-boilerplate","owner":"lmachens","description":"This boilerplate contains all the tools you need to build a modern web app with TypeScript, React, Vite, Storybook and Express.","archived":false,"fork":false,"pushed_at":"2023-05-23T17:21:20.000Z","size":2602,"stargazers_count":99,"open_issues_count":3,"forks_count":57,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-05-15T15:35:26.750Z","etag":null,"topics":["boilerplate","express","react","storybook","template","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lmachens.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}},"created_at":"2021-05-03T11:47:56.000Z","updated_at":"2024-05-09T21:26:50.000Z","dependencies_parsed_at":"2022-08-12T19:41:32.477Z","dependency_job_id":null,"html_url":"https://github.com/lmachens/vite-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmachens%2Fvite-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmachens%2Fvite-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmachens%2Fvite-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmachens%2Fvite-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmachens","download_url":"https://codeload.github.com/lmachens/vite-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225546217,"owners_count":17486389,"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":["boilerplate","express","react","storybook","template","vite"],"created_at":"2024-11-20T12:08:39.538Z","updated_at":"2024-11-20T12:08:40.613Z","avatar_url":"https://github.com/lmachens.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite Boilerplate\n\n\u003e Quickly bootstrap a new project with Vite Boilerplate.\n\nThis boilerplate contains all the tools you need to build a modern web app with TypeScript, React, Vite, Storybook and Express.  \nYou can use it to quickly bootstrap your project.\n\nESLint, stylelint, prettier, husky and lintstaged are configured to give you a solid development experience.\n\n## Installing / Developing\n\nFirst, [create a repository from this template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/creating-a-repository-from-a-template).\n\nNow you are ready to go:\n\n```shell\nnpm install\n```\n\nThis will install the dependencies required to run the boilerplate.\n\n```shell\nnpm run dev\n```\n\nBoom! These scripts run your server, client and storybook in development mode.\n\nThe default PORTS are:\n\n- `3001` for the server\n- `3000` for the client\n- `6006` for the storybook\n\nIf you don't like to call all scripts at once, you can also run:\n\n```shell\nnpm run server:dev\nnpm run client:dev\nnpm run storybook\n```\n\nYou can configure the server port by setting the `PORT` environment variable. Creating a `.env` file is supported. You can copy `.env.example` to `.env`.\n\n| KEY  | VALUE                                                         |\n| ---- | ------------------------------------------------------------- |\n| PORT | (Optional) Port for the server environment (defaults to 3001) |\n\n## Building\n\nTo build the project, run:\n\n```shell\nnpm run build\n```\n\nThis will build the client, server and storybook.\n\n```shell\nnpm start\n```\n\nIn production, you have a single server serving everything.\n\n`/api/*` is the API endpoint.  \n`/storybook` is the Storybook.  \n`/*` is the client.\n\n## Tests\n\nA test runner is not installed (right now). But TypeScript, linter and prettier are checked on commit and push thanks to husky and lintstaged.\n\n## Licensing\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmachens%2Fvite-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmachens%2Fvite-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmachens%2Fvite-boilerplate/lists"}