Skip to content
/ seedo Public

Mask Off - Visual Design Challenges for Developers: A platform designed to help developers practice and learn HTML and CSS by reproducing images. We provide you with an image, and your task is to recreate it using HTML and CSS.

Notifications You must be signed in to change notification settings

pilot-js/seedo

Repository files navigation

Capstone: Mask Off - Visual Design Challenges for Developers

Live Presentation

https://youtu.be/b-0oE0HBIRc

View live on Heroku

http://design-wars.herokuapp.com/#/

Project Details

  • Due: 6/25/19
  • Description: A platform designed to help developers practice and learn HTML and CSS by reproducing images. We provide you with an image, and your task is to recreate it using HTML and CSS.

Team Members

  • Kristy Cheung
  • Grant H. Horner
  • Theo Manton
  • Haoyu Yu

How We Built It

  • Node Express backend with Sequelize
  • React frontend
  • Codemirror - JS based text editor in the browser
  • Puppeteer-Pixelmatch microservice
  • Database model and api route unit tests
  • ESLint and Prettier to keep clean code practices
  • Unit test routes and db models using Jest and Supertest
  • Continuous Integration using Circle CI with unit tests
  • Deployed on Heroku

Workflow

  • Image generation and comparison
    • HTML and CSS sent to server from front end
    • Server updates userchallenge with html and css
    • Server sends html and css to Puppeteer server
    • Puppeteer server generates and manipulates html and css files
    • Puppeteer generates png image using those html and css files
    • (Optional) Puppeteer server reads buffers of both images into internal PNG format, compares pixels against one another
    • Sends back data and base64 encoded images to server
    • Server saves images to database
    • Server sends images to front end

Challenges

  • Puppeteer —> Image Comparison —> Database —> front end pipeline
  • Heroku Puppeteer configuration
  • Converting from monolith architecture to microservice

About

Mask Off - Visual Design Challenges for Developers: A platform designed to help developers practice and learn HTML and CSS by reproducing images. We provide you with an image, and your task is to recreate it using HTML and CSS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •