Skip to content

ConorKelleher/localboast.com

Repository files navigation

LocalBoast.com Source Code

BannerImage

Live Website: https://LocalBoast.com

This source code is provided completely openly as a means of self-documentation and to not have any secrets. This is not meant to be a showcase of best practices nor is it the cleanest my code can be. It is meant to be a functional, at times visually appealing showcase of an end-product, not the means to get there.

For more insight into my preferred coding style and better documentation habits, have a gander at the associated project LocalBoast which provides much of the underlying functionality of this website.

To Run

This is a vite app built with typescript. It should function normally by installing dependencies as regular through yarn and run locally through yarn dev.

There are only two non-standard pieces of this repo (that I can think of at the time of writing):

  • push.js: This is simply how I deploy the website, authenticating with AWS (using a gitignored .env file), clearing the current s3 bucket containing my website and reuploading the new static build.
  • storybook-static: On the topic of static websites, I've done something funky here. The code for this website contains an embedded version of the static build of the storybook app used for development/documentation of the LocalBoast library. Certain pages of this website embed iframes from that static storybook build. This is done through having the LocalBoast repo installed locally and running yarn build-storybook. This call not only builds the static storybook code, but copies it over to the assets folder of this website. Through this, I can have the output of one local app embedded into the source code of another app. Kinda funky but it works. If you haven't built the storybook static code, the iframes will just show an error message.

Usage

Feel free to adapt this code to your own projects or just try building it locally to see how it all works and play around with your own modifications of your own website.

Issues/Pull Requests

While I'm not really intending for there to be collaboration on this project (as it's a personal portfolio of sorts and not intended to be used as-is by anyone other than me), I will happily entertain any issues or Pull Requests that come in, especially if it's something that I'm not personally invested in and happy to have input on (such as security concerns, performance issues, etc.)

Live Development

In an attempt to be somewhat unique, the development of this project is largely happening live on stream over on Twitch or on YouTube Live. A record of all past live streams and other video documentation can also be found at the above YouTube channel.

Donations

I'm working on this instead of having a job that pays me. So for the time being, I'm going to be funded through generosity alone. If you're feeling generous, here are some links:

License

MIT © ConorKelleher