Repository navigation
Project Structure
Vikram Sardiwal edited this page Aug 5, 2026
·
1 revision
The project follows a simple React structure to make development and contribution easier.
react-open-source/
β
βββ public/
β
βββ src/
β βββ assets/
β βββ components/
β βββ pages/
β βββ App.jsx
β βββ main.jsx
β βββ ...
β
βββ .github/
β βββ ISSUE_TEMPLATE/
β βββ PULL_REQUEST_TEMPLATE.md
β
βββ CONTRIBUTING.md
βββ CODE_OF_CONDUCT.md
βββ README.md
βββ package.json
βββ vite.config.js
Reusable React components should be placed here.
Examples:
- Navbar
- Footer
- Button
- Card
- Loading Spinner
Page-level React components should be placed here.
Examples:
- Home
- About
- Contact
Images, icons, and other frontend assets can be stored here.
Contains GitHub configuration files such as:
- Issue templates
- Pull Request template
Contains project dependencies and npm scripts.
Before creating a new component, check whether a similar reusable component already exists.
π Home π¦ Getting Started π€ How to Contribute π Project Structure π Issues & Pull Requests β FAQ