Backend Structure Generator is a Node.js package that automatically creates a standard backend folder structure in your project directory after installation.
- npm install -g generate-backend-structure
- it will start automatically after installation
-
Automatically generates a backend folder structure upon installation.
-
Supports a modular architecture which including:
-
config directory for configuration files
-
routes directory for API routes
-
models directory for data models
-
controllers directory for controller logic
-
utils directory for utility functions
-
middlewares directory for express middlewares functions
-
tests directory for unit and integration tests
-
uploads directory for static content
-
.env file for environment variables
-
.gitignore file for exclude specific files from git
-
server.js main project file
- While this tool provides a basic structure, you may need to customize it further based on your project's specific requirements. Feel free to modify the generated files and add additional directories or files as needed.
- If you'd like to contribute to this project, feel free to submit a pull request.