Git Product home page Git Product logo

common-stack's Introduction

Common Stack Packages

Helper packages to support Fullstack-pro project. This project doesn't not have any example server for any demo, to use server you can use https://github.com/cdmbase/fullstack-pro/tree/next

Purpose:

It has all the common packages that are useful for other microservice projects.

Useful commands:

command Description
lerna clean - removes the node_modules directory from all packages.
npm run watch - build the packages in watchmode (Useful for development)
npm run lerna - installs external dependencies at the repo root so they are available to all packages.
npm run build - build all the packages. You don't need to run as npm run lerna runs anyways
npm install - runs lerna and build
npm run test - to run test using jest
npm run test:watch - to run test in watch mode. You can additionally use -w and use regex expression to test only specific test.
lerna publish - publishes packages in the current Lerna project.

Files explained:

It uses lerna.json for creating the packages structure. Under packages you can create different modules based on its usage. For example:

 packages                    - Has the packages to organize the codebase into multi-package repositories.
     common-core             - Core interfaces of the packages which can be shared between server and client.
     common-client-core      - Core interfaces and its implementation code for Client.
     common-client-redux     - Redux's reducers and actions are defined. Which may use `@common-stack\client-core` or `@common-stack\core`    

Getting Started

If you want to develop FullStack locally you must follow the following instructions:

  • Fork or Clone this repository

  • Install the project in your computer

  1. Clone common-stack locally
git clone https://github.com/cdmbase/common-stack
cd common-stack
  1. Install dependencies.
npm install

To run build with watch. Useful for auto reloading changes into the server to be productive during development.

npm run watch

[lerna-clean]: https://github.com/lerna/lerna#clean

common-stack's People

Contributors

cdmbase avatar lyudad avatar subratamal avatar veeramarni avatar

Watchers

 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.