Skip to content
This repository has been archived by the owner on Dec 12, 2019. It is now read-only.
/ domain-redirects Public archive

Redirects for my (currently unused) domains – made with micro – deployed on ZEIT Now

License

Notifications You must be signed in to change notification settings

4cm4k1/domain-redirects

Repository files navigation

domain-redirects

Deployment Status Codecov Status Prettier Renovate Latest Release License FOSSA Status

This repo contains the source code for a serverless function that redirects traffic from the domains I currently own but don't use to my personal website located at https://anthony.codes, using micro.

Table of Contents

Prerequisites

Installation

git clone https://github.com/4cm4k1/domain-redirects # clones this repo
cd domain-redirects # changes directories
yarn # installs dependencies

Usage

yarn dev # serves in dev mode at http://localhost:3000

# these four commands run automatically
# on `pre-commit` and `pre-push` using `husky`
yarn prettier # runs `prettier` on source files
yarn test # runs tests with `ava`
yarn coverage # generates code coverage reports with `nyc`
yarn report-coverage # uploads code coverage reports with `codecov`

# these two commands run automatically when commits are pushed
# to this GitHub repo (`alias` only occurs on `master` branch)
now # deploys to Now (requires Now)
now alias # points aliases in `now.json` to deployment (requires Now)

Contributors

Name Website
Anthony Maki https://anthony.codes

FOSSA Status

About

Redirects for my (currently unused) domains – made with micro – deployed on ZEIT Now

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published