GithubHelp home page GithubHelp logo

kamerk22 / mevn-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from madlabsinc/mevn-cli

0.0 3.0 0.0 3.34 MB

Light speed setup for MEVN(Mongo Express Vue Node) Apps

Home Page: http://mevn.madhacks.co

License: MIT License

JavaScript 99.64% Vue 0.36%

mevn-cli's Introduction

Mevn-Cli

Build Status npm version Downloads PRs Welcome

A CLI tool for getting started with MEVN stack. It offers various reliable boilerplates as given below and additional utilities for building a MEVN app. It helps out, beginner developers to easily create a template for their Web application development.

Getting Started

Currently, this tool works on the Windows and Linux platform.

Prerequisites

  • npm - It is the package manager for node.
  • Node.js -Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser.
  • Git - Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development.

Installing

To install the package:-

npm install -g mevn-cli

Commands

Initial Command

This command Initialises the project.

mevn init appname

Server Commands

These commands are used to generate the code necessary for running a server.

command description
mevn create:route To create the Routes-File(API)
mevn create:model To create the Models-File(SCHEMA)
mevn create:controller To create the Controllers-File
mevn create:config To create the Config-File

General Commands

These are generic commands for the entire project.

command description
mevn run:server To run the Server
mevn run:client To run the Client
mevn add:package To add additional packages as required
mevn create:component <component_name> To create new components as required
mevn codesplit <component_name> Lazy load components as required
mevn create:git-repo To create a GitHub repository and fire the first commit
mevn dockerize To run the client and server in separate docker containers
mevn deploy To deploy the app to Heroku

Features

  • This tool provides an easy way to build a web app by providing a super simple boilerplate project and a reliable boilerplate pwa to build upon.
  • Its written in ES6 syntax, which is a developer-friendly syntax that keeps the code simpler and smaller.
  • The whole project is done in modules(thanks to ES6 syntax) which enhances user readability and much more compact code.
  • Mevn-Cli will automate the files and generate the codes necessary to start and run a server, API etc

Demo

asciicast

Contributing

Before contributing to this repository, please first discuss the change you wish to make via issue, or any other method with the owners of this repository before making a change. Kindly have a look at the Contributing Guidelines to know more regarding the codebase and project structure.

How do I contribute?

  1. Ensure you have no "dummy" files left, if you do simple add them to the bottom of the .gitignore.
  2. Fork and clone our repository.
  3. Make your life-changing changes.
  4. Fire in sudo npm link to test everything works fine.
  5. Commit and push your changes.
  6. Make a detailed pull request.

npm link creates a symlink in the global folder making mevn command globally available within your local developmet environment

Why should I contribute?

Contributing helps people and makes the world simply a better place, without contributors this project would cease to exist.

What if I cannot code or do not like it?

You can always write documentation, most repositories lack in it.

What is next?

Nothing! You're done and ready to get coding!

Versioning And Help

command description
mevn version Check CLI version
mevn --help Get help and check usage

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

mevn-cli's People

Contributors

ajomadlabs avatar alan755 avatar alanlal avatar ananthuanil13 avatar aquibbaig avatar arrlanxcidic avatar christophermoura avatar darrylpargeter avatar dependabot-support avatar jamesgeorge007 avatar jamesjose03 avatar kamerk22 avatar konsvasi avatar scriptonist avatar

Watchers

 avatar  avatar  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.