Git Product home page Git Product logo

create-mf-app's Introduction

create-mf-app

npm version npm version

Creates a Module Federation application, API server, or library based on one of multiple different templates.

Usage

npx create-mf-app

These projects are not production complete. They are designed as lightweight projects that can be used to quickly prototype a new feature or library.

Programmatic Questions

Pick the name of your app? (host)

Press enter for the default host directory. Type . for the current directory or type the name of the new directory.

Project Type: 
  > Application
    API Server
    Library

Chose the Application, API Server, or Library.

Application

Port number: (8080)

Type a port number or press enter for the default port 8080.

Framework: (Use arrow keys)
    lit-html
    mithril
    preact
  > react
    react-esm
    solid-js
    svelte
    vanilla
    vue2
    vue3
    inferno

Chose desired framework.

Language:
  > typescript
    javascript

Chose your preferred programming language: javascript or typescript

CSS:
  > CSS
    Tailwind

Chose your desired form of styling. Tailwind will generate extra files.

API Server

Port number: (8080)

Type a port number or press enter for the default port 8080.

Template:
  > express
    graphql-apollo
    graphql-nexus
    graphql-subscriptions
    nextjs-auth
    nextjs-todo

Select the desired API template.

Library

A typescript file library will be automatically generated.

Programmatic Usage

const { buildProject } = require('create-mf-app')

buildProject({
  type: 'Application',
  name: 'my-project',
  port: '8080',
  framework: 'react',
  language: 'typescript',
  css: 'Tailwind',
})

create-mf-app's People

Contributors

jherr avatar jonathandagan avatar cosmevalera avatar souyang24 avatar itayelgazar avatar zmzlois avatar akshay-nm avatar godeing avatar mylesfarm avatar pbmuller avatar philipparndt avatar sherifgjini avatar koaladlt avatar plbranson avatar rahuld109 avatar wamalwa avatar

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.