{"id":19176682,"url":"https://github.com/facundorocha18/react-app-template","last_synced_at":"2026-04-09T18:12:53.804Z","repository":{"id":156555669,"uuid":"583572821","full_name":"FacundoRocha18/react-app-template","owner":"FacundoRocha18","description":"This is a template repository meant for faster config and development of new projects","archived":false,"fork":false,"pushed_at":"2022-12-31T01:58:38.000Z","size":726,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T02:26:53.919Z","etag":null,"topics":["eslint","jest","netlify","prettier","react","react-router","tailwindcss","template","typescript","vite"],"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/FacundoRocha18.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":"2022-12-30T07:26:43.000Z","updated_at":"2023-03-23T22:14:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"402fdec3-525d-4138-9335-ca6daedca173","html_url":"https://github.com/FacundoRocha18/react-app-template","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/FacundoRocha18%2Freact-app-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FacundoRocha18%2Freact-app-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FacundoRocha18%2Freact-app-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FacundoRocha18%2Freact-app-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FacundoRocha18","download_url":"https://codeload.github.com/FacundoRocha18/react-app-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240254288,"owners_count":19772392,"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":["eslint","jest","netlify","prettier","react","react-router","tailwindcss","template","typescript","vite"],"created_at":"2024-11-09T10:29:32.869Z","updated_at":"2026-04-09T18:12:53.769Z","avatar_url":"https://github.com/FacundoRocha18.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend template by Facundo Rocha\n\nThis is a template for Frontend Apps, it comes with multiple technologies from 'factory':\n\n- **Vite** development server: \u003chttps://vitejs.dev\u003e\n- **React** JavaScript library: \u003chttps://reactjs.org\u003e\n- **TypeScript** JavaScript superset: \u003chttps://www.typescriptlang.org/\u003e\n- **TailwindCSS** CSS framework: \u003chttps://tailwindcss.com\u003e\n- **ReactRouter** for creating SPAs: \u003chttps://reactrouter.com\u003e\n- **Prettier** formats the code: \u003chttps://prettier.io/\u003e\n- **ESLint** checks code errors and issues: \u003chttps://eslint.org/\u003e\n- **Jest** testing suite: \u003chttps://jestjs.io/\u003e\n- **Netlify CLI** deployments: \u003chttps://docs.netlify.com/cli/get-started/\u003e\n\n## These are the main NPM commands\n\nRun with npm run _command_name_\n\n- \"**dev**\" : starts the development server\n- \"**build**\" : creates TypeScript and vite build\n- \"**compile**\" : creates TypeScript and vite build\n- \"**test**\" : runs the test suit\n- \"**lint**\" : checks for code errors with ESLint\n- \"**lint**\" : checks for code errors with ESLint and fixes all autofixable issues\n- \"**format**\" : formats the code with Prettier\n- \"**commit**\" : formats the code and then runs a git alias that adds all files, commits and pushes into GitHub\n\n\u003eExample: npm run format\n\n## Netlify CLI deploys\n\n### Authentication\n\nNetlify CLI uses an access token to authenticate with Netlify. You can obtain this token using the command line or in the Netlify UI.\n\nObtain a token with the command line\nTo authenticate and obtain an access token using the command line, enter the following command from any directory:\n\n```code\n\nnetlify login\n\n```\n\nThis will open a browser window, asking you to log in with Netlify and grant access to Netlify CLI\n\n![Netlify UI](https://d33wubrfki0l68.cloudfront.net/c181085455c40300dc4e6dc274f1fff0f6654a72/9db82/images/cli-authorize-ui.png)\n\nOnce authorized, Netlify CLI stores your access token in a config.json global configuration file. The Netlify CLI uses the token in this file automatically for all future commands.\n\n### Automated setup\n\nFor repositories stored on GitHub.com, you can use Netlify CLI to connect your repository by running the following command from your local repository:\n\n```code\n\nnetlify init\n\n```\n\nIn order to connect your repository for continuous deployment, Netlify CLI will need access to create a deploy key and a webhook on the repository. When you run the command above, you’ll be prompted to log in to your GitHub account, which will create an account-level access token.\n\nThe access token will be stored in the Netlify CLI config.json. Your login password will never be stored. You can revoke the access token at any time from your GitHub account settings; however, this will disable continuous deployment on all sites that were configured with that access token.\n\n## Run builds locally\n\nYou can run builds in Netlify CLI to mimic the behavior of running a build on Netlify — including Build Plugins. To execute a build locally, run the following command from the root of your linked repository:\n\n```code\n\nnetlify build\n\n```\n\nThe default build context is production but you can also use the --context flag to run a build for a different deploy context.\n\n```code\n\nnetlify build --context deploy-preview\n\n```\n\nThis command will run the build as if it is a Deploy Preview, applying any settings and environment variable values specific to that context\n\n## Manual deploys\n\nIt’s also possible to deploy a site manually, without continuous deployment. This method uploads files directly from your local project directory to your site on Netlify. If builds are stopped, manual deploys are the only way you can update your site.\n\nA common use case for this command is when you’re using a separate Continuous Integration (CI) tool, deploying prebuilt files to Netlify at the end of the CI tool tasks.\n\nTo get started with manual deploys, run the following command from your project directory:\n\n```code\n\nnetlify deploy\n\n```\n\nThe first time you run the command, Netlify CLI will prompt you to select an existing site or create a new one, linking the site for all future deploys.\n\nThe following sections describe the requirements and options for manual deploys.\n\n## Deploy directories\n\nThe deploy command needs to know which folder to publish. If your project includes serverless functions, it needs to know the location of the functions folder as well. Netlify CLI will look for this information in three places, in the following order:\n\nin flags specified in the command itself.\nin a netlify.toml file stored at the root of your project directory.\nin your site settings in the Netlify UI, if continuous deployment is set up for the site.\nHere is an example using command flags to set the publish folder and functions folder:\n\n```code\n\nnetlify deploy --dir=_site --functions=functions\n\n```\n\nIn both cases, folder paths are relative to the current directory. Note that paths starting with / will begin at the computer’s root directory — not the base of your project directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacundorocha18%2Freact-app-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffacundorocha18%2Freact-app-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacundorocha18%2Freact-app-template/lists"}