Giter Club home page Giter Club logo

hamiltoss's Introduction

๐Ÿ—‘ Hamiltoss

Find out if something is recyclable in Hamilton

A screen shot of Hamiltoss site

This is a site that I made because I found it difficult to look up how to sort my garbage and recycling in Hamilton. And I wanted to learn Svelte and SvelteKit. Special thanks to Will for the name.

Thanks for stopping by!

โ€” Jason, Feb 2023

Features

  • ๐Ÿ” Search for items that you're curious about sorting.
  • ๐Ÿ‘€ See a preview in the search results of where something might be sorted.
  • ๐Ÿ–ผ View more details about specific items, and see a list of related items.
  • ๐Ÿ“š Browse a list of all available results.
  • โฑ Recent searches are stored locally in your browser. (I've found myself looking up things more than once.)
  • โ˜๏ธ See an alert around notable times in the pickup calendar. (Like when collection is a day later.)

Tech intro

This is a SvelteKit app made with their TypeScript starter. Styling is done with Tailwind and was added to the project using this handy repo svelte-add/tailwindcss. Code is formatted with Prettier. I'm using the Prettier plugin prettier-plugin-tailwindcss to automatically sort tailwind classes in code.

Svelte Kit Docs

Svelte Docs

Tailwind Docs

Setup

You'll need at least node 18.

Once you've installed dependencies with npm install, start the development server:

npm run dev -- --open

The app will be running at

http://localhost:5173/

Developing

Once running, you can edit files, save them, and it'll update in the browser. Make new commits on a feature branch. Branches on this remote will be built on netlify.

You can run npm run build locally to check if the build and deploy will succeed. You can then preview the production build with npm run preview. Or just push and see.

Deployment

Once updates are ready, pulling into main will get built and deployed to: https://hamiltoss.fyi/

  • Added adapter-netlify for this.

hamiltoss's People

Contributors

jasonflorentino avatar

Stargazers

 avatar

Watchers

 avatar

hamiltoss's Issues

Tags do not show.

When the input returns multiple results, the tags don't show up for all of them.
image
After clicking on the item and then returning to the previous search, the tag will show up for the viewed item (and some other items but not all)
image
image

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.