generate-backend-structure

1.1.4 • Public • Published

generate-backend-structure

Backend Structure Generator is a Node.js package that automatically creates a standard backend folder structure in your project directory after installation.

Installation:

  • npm install -g generate-backend-structure

Usage:

  • it will start automatically after installation

Features:

  • 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

Customization:

  • 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.

Contributing:

  • If you'd like to contribute to this project, feel free to submit a pull request.

Package Sidebar

Install

npm i generate-backend-structure

Weekly Downloads

21

Version

1.1.4

License

MIT

Unpacked Size

3.77 kB

Total Files

5

Last publish

Collaborators

  • mohamedaraby