Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ux
 
 
 
 
 
 
 
 

README.md

Token Builder

This is all the code that powers https://tokens.dougrich.net

Architecture

The code is roughly broken into 5 big parts: api, batch, ux, pipe, and gateway.

api is an HTTP service which hosts the service endpoints and authentication

batch is a pubsub subscriber which asynchronously handles batch commands

ux is both an HTTP service and a client-side application

pipe is a pipe to take the legacy storage (mongodb documents) and pump them into the new DB

gateway is a NGINX gateway that correctly maps all the routes, handles SSL termination, and caches static assets

Additionally, there are the following root folders:

.circleci which contains the continuous integration commands

deploy which contains deployment scripts and utilities

misc which contains related pictures and similar that don't fit under a specific group

token-parts which contains the raw token parts

Common Developer Operations

Reset new parts:

cd tooling
npm start -- remove tag new

Run locally

docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build

After starting the containers, the part volumes should be mounted so it auto refreshes when making changes.

Run

cd tooling
npm start -- bundle

to update the token parts visible

Part Development Checklist

  • Create artwork
  • Ensure layers are separate
  • Ensure each layer can be colored independently
  • Each layer needs a unique class attribute

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.