Portfolios by Contra

Lee Mulvey

0

Backend Engineer

Frontend Engineer

GraphQL

React

TypeScript

Overview ✨

Portfolios by Contra is a Contra Pro feature developed over the last year by a small team working within Contra. "Portfolios" aims to create a bold, well-designed representation of your work – both on and off of Contra – a posed many technical challenges and a boatload 🚢 of fun hurdles.

The Stack 💾

We built Portfolios as a greenfield project using Next.js 12 as a foundation (plans to upgrade to v13, of course, 🤝). The designs themselves were bold and used a lot of common design threads between templates. We opted to use Stitches.js as our CSS-in-JS engine, which allowed us to define tokens and re-define them at runtime as needed based on the template + theme choices of our users.
This made it simple to define a theme at a template-level and pass tokens throughout–whether it was to individual components or our custom WebGL Canvas elements used in a variety of templates – it was easy to tweak and pass around. This approach made it doubly easy with the introduction of customization as it was a matter of syncing a user's choices with our pre-defined theme tokens and displaying the result.
Our new São Paulo template
Our new São Paulo template
Our backend work was powered by Node.js and GraphQL using a wide variety of custom tooling to make defining performant resolvers as easy as possible. Templates are registered within our data store and then implemented on the front end before being released to users.

The Result 🤝

You can check out Portfolios by Contra as part of the Contra Pro offering and join the waitlist to be the first to try it out in early 2023 🎉
Like this project
0

Posted Feb 21, 2023

I helped lead and develop our first outing for the Portfolios product as part of Contra Pro 🎉. This was ultimately an exciting project to help lead.

Likes

0

Views

81

Clients

Contra

Tags

Backend Engineer

Frontend Engineer

GraphQL

React

TypeScript

The Importance of Identity
The Importance of Identity
Serverless + AppSync Mapping Templates
Serverless + AppSync Mapping Templates
Stream Source
Stream Source
Short-circuit evaluation in React
Short-circuit evaluation in React