Giter Site home page Giter Site logo

sample-monorepo-cfd's Introduction

Sample Mono Repo App - Node/Python Vue/Flask

CircleCI Software License


Description

This repository demonstrates how to manage CI pipelines for mono repositories on CircleCI. This project is composed of two Git submodules from some of our existing sample project components for "Continuous Food Delivery", our fictional food delivery service application for demo purposes. You will find both a Python/Flask backend service and a Vue/Node frontend application that will make up our application.

Name Language Description
sample-python-cfd Python Flask connexion based app
sample-javascript-cfd Javascript Vue.js ionic framework based app

In this demo, we will be running one of two possible CircleCI workflows on every commit to this repo. Which workflow executes will depend on where files have been updated, we will ensure in this case that if we only make a change to our JavaScript frontend, we will only run our frontend CI tasks.

Getting Started

If you would like to copy the config.yml and adapt it to your project, be sure to read the comments in the config file to ensure it works for your project. For more details, see the CircleCI configuration reference.

This sample config makes use of the Path Filtering orb on CircleCI with Setup Workflows. This allows us to run an initial task in a "pre" workflow, before kicking off the main CI workflow. We will use the "setup workflow" with the path filtering orb to determine what files in the repo have been modified, and only trigger the specific workflows we need, based on those changes.

About This App

This application is composed of two services and a database to create "Continuous Food Delivery", a fictional food delivery service app. The Vue.JS front end application and Python Flask backend API service are two example repositories on their own. In this repo, we will be loading both of these external projects as Git submodules to simulate a monolithic repository where all services exist in the same codebase.

Continuous Food Delivery

Frontend Preview

Local Development

Specific documentation for each of the two services can be found in their respective repositories.

Additional Resources

License

This repository is licensed under the MIT license. The license can be found here.

sample-monorepo-cfd's People

Contributors

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