mern-forge
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

mern-forge

Description

A package that generates a MERN stack app based on user input.

Installation

To install the package, use the following command:

Usage

Import the necessary components from the package:

import { ExpressBasic, ExpressBasicData, ReactCRA, ReactVite, data } from 'mern-forge';

ExpressBasic

The ExpressBasic component generates backend files corresponding to the provided data. To use it, pass three arguments:

ExpressBasic('folder-name', data, 'directory-path');

ReactCRA

The ReactCRA component generates a basic React app using Create React App and adds Axios API calls to it. To use it, pass three arguments:

ReactCRA('folder-name', data, 'directory-path');

ReactVite

The ReactVite component generates a basic React app using Vite and adds Axios API calls to it. To use it, pass three arguments:

ReactVite('folder-name', data, 'directory-path');

Additional Information

The package also exports the data object, which can be accessed directly:

import { data } from 'mern-forge';

License

NaN

Readme

Keywords

none

Package Sidebar

Install

npm i mern-forge

Weekly Downloads

0

Version

0.0.11

License

ISC

Unpacked Size

243 kB

Total Files

237

Last publish

Collaborators

  • muhammad_tayyab
  • abdulrehman_irfan
  • salman-wasi