0.0.11 • Published 10 months ago

mern-forge v0.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

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

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago