Socket
Socket
Sign inDemoInstall

mern-forge-2.0

Package Overview
Dependencies
137
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mern-forge-2.0

Core generator for our project system.


Version published
Maintainers
1
Created

Readme

Source

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

FAQs

Last updated on 05 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc