GithubHelp home page GithubHelp logo

catchysong / zygoat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metlifelegalplans/zygoat

0.0 0.0 0.0 165 KB

An app for making and maintaining apps with React.js, Django, Postgres, AWS Lambda, etc.

License: MIT License

Python 90.42% Shell 0.09% JavaScript 9.49%

zygoat's Introduction

zygoat

What is zygoat?

zygoat is a command line tool used to bootstrap and configure a React/Django/Postgres stack web application.

Linting, test configuration, boilerplate, and development environment are automatically taken care of using zygoat so that you can get up and running faster.

zygoat also includes a preset deployment configuration to allow you to deploy your stack to an AWS environment with a single command. You'll get a full serverless AWS stack to keep things inexpensive and nimble.

How does it work?

zygoat works by defining Components, defined as parts of projects, and then defining how you implement those components based on whether you're creating a new project, updating an existing project, or deleting a component that's no longer needed.

For instance, for the python backend, we want to include black, which is a tool for automatically formatting python code in a standard way to make it pep8 compliant. To install black in for the python backend part of the project, we create a Component for it, specifically a FileComponent, which defines how we treat files that we need in projects. Then we register the Black component (defined in black.py) with the Backend component (defined in backend/__init__.py) as a sub component. This way, whenever you create or update (or delete) a project with the Backend component, you'll do the same 'phase' to the Black component.

How do I use it?

Make a new git repository somewhere, we'll call it test-zg

mkdir test-zg && cd test-zg
git init

Install the zygoat package locally

pip install --user --upgrade ~/Projects/zygoat  # Or wherever you have it

If you're using the asdf version manager, reshim

asdf reshim python

Run zg commands, see if they fail

zg new test
zg update
zg delete

Contributing

zygoat is developed using the Poetry packaging framework for Python projects to make development as simple and portable as possible.


Documentation

Available on ReadTheDocs

zygoat's People

Contributors

ariataylor96 avatar ian-macleod avatar cviveiro avatar kborer avatar hpetrow avatar ambikads avatar swang192 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.