Skip to content

nandordudas/monorepo-template

Repository files navigation

code style CI CodeQL

Overview

Welcome to the Monorepo Template, a project that serves as a starting point for building your own monorepository-based applications. This README provides essential information on how to set up and use this template effectively.

Requirements

Before you begin, make sure you have the following prerequisites installed on your development environment:

Note

I recommend using Devcontainers for cross-platform compatibility and ease of use.

Getting Started

  1. Create a new repository
  • Clone the repository:
# Create repository on GitHub
npx degit nandordudas/monorepo-template my-project-name
cd my-project-name # cd $_
git init
git add .
git commit -m "chore: initial commit"
# Set the origin of your new repository and push your code into it
  • Or use this template on your own GitHub profile.
  1. Replace author and description indide package.json file.
  2. Replace date and name inside LICENSE file.
  3. Replace nandordudas with your own GitHub username inside CODEOWNERS file.

Devcontainer

Note

Using Devcontainers is not mandatory, but strongly recommended!

The project includes a Devcontainer configuration in the devcontainer.json file, which contains all the necessary requirements and setup procedures.

Important

Make sure to have VS Code equipped with the Dev Containers extension. For Windows users, WSL 2 is recommended using the WSL extension.

Simply re-access the project within Devcontainer, allow some time for setup, and you're good to go. All VS Code extensions, settings, system configurations, and other elements will be established.

You can update other requirements inside the Devcontainer setup, and you're not limited to using only the json format. If you need more specific configurations, such as adding a postgres or other containers, you can include a docker-compose.yml file. This file needs to be imported by devcontainer.json and use Docker Compose.

Note

If you are using Codespaces on GitHub, use environment variables carefully, as Codespace may fail if files are missing.

Let's get started with your project!

About

A project that serves as a starting point for building your own monorepository-based applications

Resources

License

Stars

Watchers

Forks