Giter VIP home page Giter VIP logo

jstntrnr's Introduction

jstntrnr.com

This is a personal website that I can use to introduce myself and show off some of my projects.

Check it out live: http://jstntrnr.com

How it's made

  • This project uses Next.js since it makes routing and server side rendering super easy.
  • For styling, I went with styled-components since it eliminates scope bugs and is also just really nice to use
  • react-scroll-parallax and react-visibility-sensor add a little bit more visual flair
  • SendGrid was used for the contact form
  • It also uses the variable font Jost, allowing me to have a lot of control over the typeface, while also reducing the payload size.
  • Icons are provided by Font Awesome (server side rendering makes this component somewhat finicky)

Deployment

This project was deployed using Now 2.0. All decisions were made to accomodate the project being deployed serverlessly, which cuts running costs significantly (I'm actually only paying for the domain name). I also like saying that my website is serverlessly server side rendered.

Figuring out how to accommodate the mailer locally and live was interesting. To set up the mailer locally, I created a Next.js node server and a route that simply uses the SengGrid package. It worked like a charm locally, but a server like this would be difficult to deploy serverlessly. The solution was to break the mailer function out and configure it to be deployed on its own as a serverless lambda, but also having the Next.js server import it so it can be used locally. The mailer function uses micro to handle HTTP things.

jstntrnr's People

Contributors

turnerjw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.