This repository contains a standardized folder structure designed for production-level projects commonly used in companies. The structure is organized to promote scalability, maintainability, and clean project management.
root/ β βββ src/ β βββ components/ β βββ pages/ β βββ assets/ β βββ services/ β βββ utils/ β βββ ... β βββ config/ β βββ env/ β βββ routes/ β βββ ... β βββ public/ β βββ index.html β βββ ... β βββ tests/ β βββ unit/ β βββ integration/ β βββ ... β βββ scripts/ β βββ ... β βββ .env βββ .gitignore βββ package.json βββ README.md βββ ...
-
src/: Contains the main source code for the project.
- components/: Reusable UI components.
- pages/: Page-specific components or views.
- assets/: Images, fonts, and other static resources.
- services/: API integration and business logic.
- utils/: Utility functions and helpers.
-
config/: Configuration files such as environment variables and routes.
-
public/: Public assets and entry point HTML.
-
tests/: Test cases for different levels of the application.
-
scripts/: Automation and helper scripts for development and deployment.
-
.env: Environment variables file for sensitive data.
-
package.json: Dependencies and scripts for the project.
- Clone the repository:
git clone https://github.com/Krishna-85/Production-level-folder-structure.git
π οΈ Customization Feel free to adapt the folder structure to suit the specific needs of your project.
π€ Contribution Contributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.