Git Product home page Git Product logo

Comments (3)

janmraz avatar janmraz commented on September 28, 2024 2

Not available variants.I have just basic MERN.But no JWT-auth variant.

Thanks for answer

from mern-cli.

somus avatar somus commented on September 28, 2024

This is done in 3c661a4.

Available commands in mern

Usage: main [options] [command]


  Commands:

    init [name]    Initialize a MERN project.
    list           List MERN variants
    search [term]  Search for MERN variant
    info [term]    View details of a MERN variant
    help [cmd]     display help for [cmd]

  Initialize a MERN powered project

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
    -v, --version  check version

Available commands in merng. It takes the blueprints for the generators from the corresponding MERN project itself. So, various variants of MERN can have their own generators. For reference, review Hashnode/mern-starter@da8a037 in mern-starter. Following is the output for the mern-starter project.

Usage: generate [options] <generator> [args]

  Generate components, routes, controllers, models using mern generator

  Options:

    -h, --help  output usage information

Available Generators
____________________

    dumb-s - Generates a dumb react component in shared components
    Usage: dumb-s [component-name]

    dumb-m - Generates a dumb react component in a module directory
    Usage: dumb-m <module-name>/<component-name>

    functional-s - Generates a functional react component in shared components
    Usage: functional-s [component-name]

    functional-m - Generates a functional react component in a module directory
    Usage: functional-m <module-name>/<component-name>

    module - Generates a module including react components, reducer, action, style & express route, controller, model
    Usage: module [module-name]

from mern-cli.

 avatar commented on September 28, 2024

I'm experienced same issue with @JohnyFreeze , when i run mern list, it just shows default mern starter
here is the result of it

`MERN Variants

┌──────────────┬──────────────────────┬──────────┐
│ Name │ Description │ Author │
├──────────────┼──────────────────────┼──────────┤
│ mern-starter │ Default Mern Starter │ Hashnode │
└──────────────┴──────────────────────┴──────────┘
For more info, execute "mern info <variant_name>"
`

from mern-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.