ndagi-nodenext-api
v1.0.3
Published
This package provides a simple and flexible command-line tool to generate a boilerplate API template for both Node.js and Next.js projects. It streamlines the process of setting up a server-side API by scaffolding the essential files and configurations, a
Maintainers
Readme
Ndagi NodeNext Api
Ndagi NodeNext Api
is a command-line tool that helps you quickly generate a server-side API template for both Node.js and Next.js projects. Whether you're building a backend API with Node.js or a full-stack application with Next.js, this package streamlines the process of setting up the essential API files, folder structure, and configurations.
Features
- Express Server Setup: Generates a pre-configured Express server for Node.js.
- Next.js API Routes: Quickly scaffold API routes for seamless integration with Next.js.
- Customizable Templates: Tailor the generated structure to fit your project needs.
- Initializes a Git repository and installs dependencies
- Rapid Setup: Skip repetitive configuration steps and get your project started in minutes.
Installation
Option 1: Install Globally via npm
To install the package globally, use the following command:
npm install -g create-ndagi-nodenext-api
After installation, you can generate the API template by running:
create-ndagi-nodenext-api new-project
Option 2: Run via npx (No Installation Required)
If you don't want to install the package globally, you can run it directly via npx. This is a great option if you prefer not to globally install dependencies:
npx create-ndagi-nodenext-api new-project
License
This project is licensed under the MIT License.