Advanced Search
Search Results
33 total results found
Recipes
This book is a collection of code snippets, patterns, and guides to solving common problems in our projects. Please take a look through these to save yourself time when implementing certain features!
Technology at Vegan Hacktivists
In this book, we cover the technology stack(s) used at VH, the reasons for why, and our approach to development.
Starting a New Project
This book goes over all steps required to start a new VH project. If you are in charge of starting a new project, please follow all steps outlined here!
Technology at Vegan Hacktivists Pages Pages
In this book, we cover the technology stack(s) used at VH, the reasons for why, and our approach to development.
Starting a New Project Pages
This book goes over all steps required to start a new VH project. If you are in charge of starting a new project, please follow all steps outlined here!
Recipes Pages
This book is a collection of code snippets, patterns, and guides to solving common problems in our projects. Please take a look through these to save yourself time when implementing certain features!
Resource collection
All of the stuff we encounter while looking for solutions, that we think could be helpful in the future
Why PHP/Laravel?
Note: This page will be written in the first person, from the perspective of Vegan Hacktivists's former Director of Engineering, Gerard O'Neill. TL;DR We have been using Laravel for four years and are deeply entrenched in the ecosystem. Introducing more techn...
Our Tech Stack
VH has many active projects, and for the sake of maintenance and knowledge transfer, we'd like all projects to share a common stack. While the critical components of our projects are mostly the same, advances in technology have caused projects to diverge a bit...
Base Prettier Config
Use these as a starting point for Prettier configuration on Vegan Hacktivists projects. React Projects { "overrides": [ { "files": "*.{js,jsx,ts,tsx}", "options": { "arrowParens": "always", "jsxBracketSameLine": false, ...
Step 1
Step 2
Step 3
Step 4
Step 5
Base README Template
This template should be used as a starting point for all Vegan Hacktivists projects. # [PROJECT_NAME](https://example.org) 1. [Local development setup](#local-development-setup) 1. [Custom configuration options](#custom-configuration-options) 1. [Scheduled jo...
Base Editorconfig Config
Use these as a starting point for Editorconfig configuration on Vegan Hacktivists projects. root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true trim_trailing_whitespace = true [*.php] indent_size ...
Installing Backpack for Laravel
Installing the Backpack admin panel is straightforward, but there are a few extra steps you'll likely want to take. Pro tip! Add the following to your shell configuration file: alias sail='bash vendor/bin/sail' Set Up Admin Users The first thing you'll want to...
The Deployment Process
Setting Up Cron Jobs on Laravel Forge
In the Laravel world, we are able to set up recurring tasks/jobs in a more flexible way than using tradition cron jobs. This is because we are able to control the schedule in our code, and we only need to create a single cron job per project. Creating a Task T...
Setting Up Job Queues on Laravel Forge
There are certain times when we want to run code outside of the request lifecycle. For example, if a user signs up for our website and we want to send them an email, we don't want to wait until the email is sent before letting the user proceed. This is where j...
Pre-Launch Checklist
Recommended VS Code Setup
Below is a list of recommended plugins to use while developing Vegan Hacktivists projects. Crucial EditorConfig for VS Code - This adds EditorConfig support to VS Code to set up project-specific rules for indentation and other things. ESLint - Integrates ES...
Setting Up Mailgun
For the vast majority of projects, we'll need to make use of email in some way. At the very least, projects where users have accounts will need the ability to reset their passwords via their email inbox. Vegan Hacktivists uses Mailgun to send emails for all of...
GitHub Repository Setup
Base ESLint Config
Use these as a starting point for ESLint configuration on Vegan Hacktivists projects. .eslintrc.js /** @type import('eslint').Linter.Config */ module.exports = { root: true, env: { browser: true, es2021: true, }, parser: '@typescript-eslint/par...
Credential Sharing
At the moment, we use Keybase for sharing credentials, secret files, etc. To get set up, you will need to download and install the appropriate app for your operating system. On keybase, we currently have four "teams" set up on Keybase: General (veganhacktivis...