0.0.11 • Published 2 years ago

mern-forge v0.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago