DEV Community

Cover image for Introducing Yurt: A CLI Tool for Rapid Codebase Setup
Yeti
Yeti

Posted on • Updated on

Introducing Yurt: A CLI Tool for Rapid Codebase Setup

Hi all! I wanted to share an internal tool that our team at Yeti ( an IoT software development company,) has developed, called Yurt. In a nutshell, Yurt is a command line application designed to streamline the process of setting up new code bases by incorporating our preferred preferences and patterns.

I put together a loom video walking through the tool that covers:

Initiating Yurt: Yurt is kicked off by calling the start command, leading you through a series of questions to configure your code base.

Configuration Options: Yurt allows you to specify details like the repository name, the location in your file system, and the type of application you're creating. There are options for standalone React and backend applications or a React and Apollo GraphQL integrated setup.

Automated Setup: Yurt automates the process of creating the directory, copying templates, installing dependencies, setting up a local Docker file with a Postgres database, generating GraphQL types and schema, and committing the changes to Git.

Front-end and Back-end Integration: The resulting code base includes a Git repository with front-end and back-end packages. You can easily run and test the React app and Apollo server locally.

Why Yurt?

  • Efficiency: Yurt is aimed at making developers more efficient by handling the initial 80% of setup, including essential configurations, libraries, and basic routing.

  • Open Source: Yurt is open source on GitHub, inviting
    collaboration, feedback, and suggestions.

  • Value: The tool has already provided significant value at Yeti, enabling our developers to move quickly.

If you're interested in checking out Yurt, head over to GitHub. Feel free to explore, suggest changes, or even take it for a spin.

Watch the Video for a hands-on demonstration by Will.

Thanks for reading and happy coding!

Top comments (0)