magicpot
v1.1.0
Published
Magicpot is an npm package designed to streamline the setup of structured Node.js projects. Inspired by the need for a Django-like project structure in Node.js, Magicpot simplifies the process of creating and managing Node projects and apps.
Readme
Magicpot
Magicpot is an npm package designed to streamline the setup of structured Node.js projects. Inspired by the need for a Django-like project structure in Node.js, Magicpot simplifies the process of creating and managing Node projects and apps.
Installation
To install Magicpot globally, run the following command:
npm install -g magicpot
# Create a new project named 'myproject'
magicpot startproject myproject
# Navigate into the project directory
cd myproject
# Install the required dependencies
npm install
# Create a new app named 'myapp'
magicpot startapp myapp
# Structure of the Project
<project_name>/
├── app_name/
│ ├── router.js
│ ├── controller.js
│ ├── models.js
├── node_modules/
├── package.json
├── server.js
└── .env