2minapi
v2.0.2
Published
This npm package automates the setup of a basic Express API, allowing users to choose recommended packages and generating an `index.js` file with a customizable template.
Downloads
16
Readme
Express API Setup
Overview
This npm package automates the setup of a basic Express API, allowing users to choose recommended packages and generating an index.js
file with a customizable template.
Installation
To use this package, follow these steps:
Install the package globally:
npm install -g express-api-setup
Usage The setup script will prompt you to choose whether to install recommended packages (Express, MongoDB, Mongoose, Nodemon) and generate an index.js file with a customizable template.
Scripts setup.js: The main script that handles the setup process. index.js: The generated file containing the Express API template. Dependencies chalk: For terminal text styling. chalk-animation: For terminal animations. inquirer: For interactive command-line prompts. shelljs: For executing shell commands in Node.js. Contributing If you'd like to contribute to this project, feel free to open issues or submit pull requests.
License This project is licensed under the MIT License.