This is a React starter kit.
- SEO-friendly.
Before setting up the website, make sure you have:
Node.js: a runtime environment for running the websitepnpm: a package manager for installing dependencies
Follow these steps to set up the website:
-
Clone the repository:
git clone https://github.com/madliani/reactify.git cd reactify -
Install dependencies:
pnpm install
-
Run tests:
pnpm test -
Build the website:
pnpm build
Note: The website is a React-based single-page application (SPA), so the project mostly contains files of the web app.
assets/: a directory containing assets for theREADME.mdfileassets/icons/: a directory containing icons for theREADME.mdfileassets/images/: a directory containing images for theREADME.md
public/: a directory containing assets for the websiteassets/icons/: a directory containing icons for the websiteassets/images: a directory containing icons for the website
src/: a directory containing source files of the web appsrc/app/: a directory containing the root component of the web appsrc/app/App.tsx: the root component of the web app
src/components/: a directory containing other components of the web appsrc/layouts/: a directory containing layouts of the web appsrc/pages/: a directory containing pages of the web appsrc/react/: a directory containingReactcomponents for the web appsrc/router/: a directory containing router of the web appsrc/routes/: a directory containing routes of the web appsrc/main.ts: a file containing the entry point of the web app
types/: a directory containing type declarations for the configuration filestypes/vitest.ts: a file containing type declarations for theVitestconfiguration file
.env: an environment variables file (local).browserslistrc: aBrowserslistconfiguration file.gitattributes: aGitattributes file.gitignore: aGitignore file.prettierignore: aPrettierignore file.stylelintignore: aStylelintignore file.tsbuildinfo: a file of theTypeScriptcompiler for storing incremental compilation information (local)AUTHORS.txt: anAUTHORSfileCHANGELOG.md: aCHANGELOG.mdfileCONTRIBUTING.md: aCONTRIBUTING.mdfilecspell.config.js: a JavaScript-basedcSpellconfiguration fileeslint.config.js: a JavaScript-basedESLintconfiguration fileindex.html: anindex.htmlfileLICENSE.txt: a license filepackage.json: apackage.jsonfilepnpm-lock.yaml: apnpmlockfilepnpm-workspace.yaml: apnpm-workspace.yamlfileprettier.config.js: a JavaScript-basedPrettierconfiguration fileREADME.md: aREADMEfiletsconfig.app.json: aTypeScriptconfiguration file for the web apptsconfig.json: a baseTypeScriptconfiguration filetsconfig.json: a mainTypeScriptconfiguration filetsconfig.test.json: aTypeScriptconfiguration file for the teststsdown.config.js: a JavaScript-basedtsdownconfiguration filevitest.config.js: a JavaScript-basedVitestconfiguration file
stable: a stable branch for production buildsunstable: an unstable branch for development and testing
Note: If you were expecting to see additional branches here, please see Git Workflow.
This is my personal project that I'm developing alone and for my own purposes.
For that reason, a simplified Git workflow is used here.
The simplified Git workflow contains the following steps:
- Pull from the remote (optional)
- Synchronize the
unstablebranch with thestablebranch - Make a new branch for a new feature, bugfix, or hotfix from the
unstablebranch - Push branch to the remote
- Implement the feature, bugfix, or hotfix within the branch
- Test the feature, bugfix, or hotfix within the branch
- Synchronize the
unstablebranch with thestablebranch (optional) - Synchronize the branch with the
unstablebranch (optional) - Retest the feature, bugfix, or hotfix within the branch (optional)
- Merge the branch into the
unstablebranch - Merge the
unstablebranch intostablebranch - Make a release within the
stablebranch - Delete the branch
- Push changes to the remote
Note: The optional steps are needed if you are developing a few features, bugfixes, or hotfixes at the same time.
- The size of the image for the
Open Graphprotocol should be1200x630pixels.
Under what license is the source code distributed?
The source code is distributed under the Unlicense license.
How do I start contributing to the project?
To learn about contributing to the project, see CONTRIBUTING.md.
Why are some development dependencies necessary?
These dependencies are necessary for other dependencies to work correctly.
| Dependency | Purpose |
|---|---|
| tslib | Dependency for the typescript package |
- In the React logo, used the React icon by Julien Monty from Icon-icons.com.
