Avoid setting up a project from scratch. Start using VRTTV 🎉

Overview

VRTTV Banner

VRTTV Boilerplate

Avoid setting up a project from scratch. Start using VRTTV 🎉

View Demo · Report Bug · Request Feature

🤔 What’s this?

Are you tired of always creating the same structure from scratch for your projects? Me too. 🥱

This is my go-to when I start a new project on front-end development.

If you found it useful somehow, I would be grateful if you could leave a star in the project's GitHub repository 💚

(back to top)

🔮 What’s inside?

  • Vite - Next generation frontend tooling.
  • 🌟 React - A JavaScript library for building user interfaces.
  • 🔀 React Router - Declarative routing for React apps at any scale.
  • 💜 TypeScript - A superset of JavaScript.
  • 🎨 Tailwind - A utility-first CSS framework.
  • ⚙️ Babel with preset-env - The compiler for next generation JavaScript.
  • 💅 Prettier - Opinionated Code Formatter.
  • 🔍 ESLint - Tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
  • 🐶 Husky - Git hooks made easy.
    • 🪝 commit-msg
    • 🪝 pre-commit
  • 🚫 Lint Staged - Run linters on git staged files.
  • ✍️ Conventional Commits with 🎉 Gitmoji - A specification for adding human and machine readable meaning to commit messages.
  • 🚦 GitHub Actions - Automate your workflow on GitHub.
  • 🔺 Vercel - Deploy your application on Vercel.

(back to top)

🚀 Getting Started

These are the necessary steps to use 💯 of the potential of this boilerplate.

🚨 Prerequisites

You need this technologies :

💻 Run Locally

  1. Option 1: Generate a new repository with this template
  1. Option 2: Copy just the project scaffolding.
npx --yes degit Drumpy/vrttv-boilerplate your-folder-name
  1. Option 3: Clone the entire repository.
git clone https://github.com/Drumpy/vrttv-boilerplate
  1. Go to the project directory.
cd vrttv-boilerplate
  1. Install dependencies.
npm install
  1. Start the server.
npm run dev

(back to top)

⚙️ Setup GitHub Actions

  1. Run Vercel CLI in your project folder. After completed, a folder .vercel is created in your root directory.
vercel --confirm
  1. Go to actions secrets in your GitHub Repository.
https://github.com/your-username/your-repo-name/settings/secrets/actions/new
  1. Add this three tokens.
# Generate this in https://vercel.com/account/tokens
VERCEL_TOKEN
# It is located in 'project.json' inside the '.vercel' folder
ORG_ID
# It is located in 'project.json' inside the '.vercel' folder
PROJECT_ID

💡 Tip!

You can skip GitHub Action execution by adding [skip ci] to your commit message.

style: change the colors of the theme [skip ci]

(back to top)

🐕‍🦺 Setup Husky

  1. Run Husky command.
npx --yes husky install
  1. Use Gitmoji CLI to commit changes.
gitmoji -c
  1. Write your commits following the rules of Conventional Commit. Examples:
feat: added navbar component
fix(navbar): fixed all the broken links

👇 Creating a commit as an example

📜 Conventional Commit Rules

Use this table as a reference when writing commits. Husky will be in charge of checking that the rules will be followed.

Commit Type Title Description Emoji
feat Features A new feature
fix Bug Fixes A bug fix 🐛
docs Documentation Documentation only changes 📝
style Styles Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) 🎨
refactor Code Refactoring A code change that neither fixes a bug nor adds a feature ♻️
perf Performance Improvements A code change that improves performance
test Tests Adding missing tests or correcting existing tests
build Builds Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) 🚨
ci Continuous Integrations Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) 👷
chore Chores Other changes that don't modify src or test files
revert Reverts Reverts a previous commit

(back to top)

♾️ GitHub Actions Deployment Pipeline

  • 🛑 Cancel Previous Redundant Builds
  • 📝 Assign PR to creator
  • 💅🏼 Linting
  • 🔗 Deploy to Vercel

(back to top)

📧 Contact

Diego Do Santos - [email protected]

(back to top)

You might also like...

A docker container with a wide variety of tools for debugging and setting up micro-services

Frame One Software Placeholder There are numerous times during the dev ops deployments, that a placeholder container is needed. In the past, Frame One

May 29, 2022

Keep the type of storage value unchanged and change array and object directly. Supports listening to the changes and setting expires.

proxy-web-storage A more convenient way to use storage through proxy. try it on codesandbox. Install npm i proxy-web-storage Features Base Keep the ty

Dec 25, 2022

Monorepo project that shows the current weather data and weather forecast for next 7 days. Created from scratch to participate in a 14-days hackathon.

Monorepo project that shows the current weather data and weather forecast for next 7 days. Created from scratch to participate in a 14-days hackathon.

Climatic Monorepo project that shows the current weather data and weather forecast for next 7 days. Created from scratch to participate in a 14-days h

Jun 23, 2022

This is the FARM Stack course, where you are going to learn how to build an application from scratch using FASTAPI, React and mongoDB

FARM-Stack-Course This is the FARM Stack course, where you are going to learn how to build an application from scratch using FASTAPI, React and mongoD

Jan 2, 2023

Responsive, auto-saving To-Do List single page application made from scratch using JavaScript only

Project Name To-Do List Website Name What's Next? (TO-DO List) Clone the Project git clone https://github.com/Zeraltz/todo-list.git Built With HTML, C

Jun 25, 2022

Responsive, auto-saving To-Do List made from scratch using JavaScript only, but refactoring the code into ES6 standard

Project Name ES6 AWESOME BOOKS Website Name AWSM BOOKS Project Website (GitHub Pages) https://github.com/Zeraltz/es6-awsm-books Clone the Project git

Jun 25, 2022

This will create a REST API using Express JS and MongoDB removing the hassle of creating everything from scratch.

rest-api-init Fastest way to create REST API with Node.js, Express.js & MongoDB. Prerequisites Node.js needs to be installed. MongoDB Compass needs to

Dec 3, 2022

A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and configure Typescript on it.

A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and configure Typescript on it.

CTSP- Create TS Project A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and conf

Sep 13, 2022

Find your new favorite Scratch service.

Welcome to scratch-explorer 👋 Like ocular and ScratchStats? You'll love some lesser-known sites like Itinerary and Aviate. Just browse the collection

Oct 3, 2022
Avoid CORS issues by using API Routes from Next.js

CORS Demo Avoid CORS issues by using API Routes from Next.js. Get Started Clone the repo git clone [email protected]:gregrickaby/cors-demo.git CD into co

Greg Rickaby 2 Sep 30, 2022
Avoid use of dangerouslySetInnerHTML with this lightweight (2KB) function.

Avoid use of dangerouslySetInnerHTML with this lightweight (2KB) function. Can parse HTML strings into VDom trees, ready to render in your Preact components

James Hill 4 May 14, 2022
Completely free TS/JS one-file source code snippets with tests, which can be copied to avoid extra dependencies (contributions welcome).

TinySource Completely free TS/JS one-file source code snippets with tests, which can be copied to avoid extra dependencies (contributions welcome). Sn

null 81 Jan 3, 2023
Snipes Test Flight apps. Configurable & has the ability to use a burner account for checking the status to avoid bans.

TestFlight Sniper Snipes TestFlight beta apps. Configurable & has the ability to use a burner account for checking the status to avoid bans. Features

eternal 12 Dec 20, 2022
Dank Memer (Selfbot) Farm with slash commands support and random delays and breaks to avoid any suspicion

Slashy Slashy is a Dank Memer (Selfbot) Farm with slash commands support and random delays and breaks to avoid any suspicion. This is completely undet

Taha Gorme 16 Dec 30, 2022
A custom action for setting GitHub Workflow environment variables with YAML configuration files.

yaml-env-action - A custom action for setting GitHub Workflow environment variables with YAML configuration files. Introduction yaml-env-action is a c

Piper Dougherty 3 Dec 13, 2022
Setup-graalvm - GitHub Action for setting up GraalVM CE.

GitHub Action for GraalVM This GitHub action sets up GraalVM Community Edition and GraalVM components such as Native Image and GraalVM languages. Key

GraalVM 105 Jan 2, 2023
A template application for setting up a mobile app video game with IONIC, PHASER, ANGULAR and a Monorepo strategy

OpenForge Ionic Monorepo Example This is a template project for all you aspiring video game developers out there! Want to use your web application ski

OpenForge 67 Dec 22, 2022
Library for Foundry VTT which provides easy access to dark comedy fantasy setting created by Richard Zadmar Woolcock

Library for Foundry VTT which provides easy access to dark comedy fantasy setting created by Richard Zadmar Woolcock. Current inclusions are a bestiary, edges, hindrances, and a journal with setting information, character creation, and more. The Savage Worlds Adventurers Edition Game System is the system this setting is designed for.

KevDog 2 Mar 18, 2022
Basic setting plugin for beginner BDSX users / bdsx

sos9533scr Basic Setting Plugin for BDSX. [ Features and usage ] [ 기능 및 사용법 ] [ Note ] 1.8.5 UPDATE Fix & Upgrade device ban / Fix tpa output / Fix lo

sos9533 33 Dec 25, 2022