Code Monkey home page Code Monkey logo

boilerplate-gen-backend's Introduction

Boilerplate Generator - Backend

This application will provide API endpoints to Generate and Download boilerplate code for the various tech stacks.

Requirements

  • NodeJS installed

Run Locally

Clone the project

  git clone https://github.com/Hypermona/boilerplate-gen-backend

Go to the project directory

  cd boilerplate-gen-backend

Install dependencies

  npm install

Start the server

  npm start

Tech stacks Supported

  • For web

    Client: React, Vue, Svelte

    Server: Node, Express

    DataBase: MongoDB, mysql, postgresql

  • For Mobile

    Client: React-native

    Server: Node, Express

    DataBase: MongoDB, mysql, postgresql

Working

  • Generating Boilerplate

    • All the frameworks and docker files are stored inside data folder.

    • When user requests a boilerplate new folder will be initialized in the name of project.

    • Also add DBs if required.

    • Then insert required frameworks and docker files.

    • if required generate docker-compose using js-yaml parser.

    • Then send success message to user.

  • Downloading Boilerplate

    • Convert the boilerplate into zip file.

    • Then send back to user.

    • Then delete the Boilerplate.

API Reference

Generate frontend

  GET /generate/web/frontend
{
    name: "name of project"
    framework : "react | vue | svelte"
    container : true | false
}

Generate backend

  GET /generate/web/backend
{
    name: "name of project"
    framework : "express"
    db: "mongoDB | mysql | postgresql"
    container : true | false
}

Generate fullstack

  GET /generate/web/fullstack
{
  name: "name of project";
  frontend: "react | vue | svelte";
  backend: "express";
  db: "mongoDB | mysql | postgresql";
  container: true | false;
  compose: true | false; // if container is true then this field is always true
}

[android / ios] only frontend

  GET /generate/mobile/frontend
{
  name: "name of project";
  framework: "react-native";
}

[android / ios] fullstack

  GET /generate/mobile/fullstack
{
  name: "name of project";
  frontend: "react-native";
  backend: "express";
  db: "mongoDB | mysql | postgresql";
}

download boilerplate as zip file

  GET /download
{
  name: "name of project";
}

boilerplate-gen-backend's People

Contributors

hypermona avatar

Stargazers

 avatar

Watchers

 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.