Giter Club home page Giter Club logo

dtogether.ca-frontend's Introduction

Project Overview

Currently, there are is a facebook groups called "Looping in a time of covid" where diabetics sell supplies to each other for a lot cheaper than if they bought them new. These people there are usually type 1 diabetic, which is when the immune system turns on and attacks your insulin cells. I've seen $500 worth of glucose sensors go for $200. Has 1800 members. Very active as people constantly need supplies such as glucose sensors (small, sits on the belly, $100 a pop, lasts for 10 days each). Or insulin pump sites (a small plastic neede held on by a cotton adhesive, changed every 3 days). People have extra of these due to switching sensor brands, insulin pump brands, or insurances. Some also have extra from reusing sensors for a couple more days, which is not recommended but works totally fine in my experience. I thought that there should be a dedicated marketplace to sell them. Listing them on a facebook group is no very intuitive. Maybe shipping and payment could be built in too like amazon.

Tech stack and story of building it

Most of the frontend and all of the backend was done by a open source framework called Medusa. Next.js on the frontend, express + postgres + redis on the backend. I did not touch the backend thoughn except the config files. Medusa comes with a bunch of pre-built functionality. It's made by a small startup in Denmark, friendly peeps.

I had to follow the docs to configure the backend and host it on Railway. Initially I used local file storage for images, but after having thumbnails disappear after a few days, I set up a s3 bucket to store them and configured the backend s3 plugin to point to my bucket. The docs actually had an error about how the s3 url should be written, it was missing the region part in the url. With a helpful and experienced community member's help in the discord, I was able to fix it after 2 hours and notified the Medusa technical writer who fixed it in no time. And being able to talk to the Medusa team on discord was pretty neat

I modifed the frontend from the starter to make it look like it's for diabetes and added a few dummy products. The website is nonfunctional and I decided not to move further with it because the amount of time I'd have to sink to learn Medusa. The API is intimidating. And then I'd have to convince people from switching from facebook to my website. And set up moderation. And most type 1 diabetic's have insurance that covers their supplies as far as I know so it's a niche problem. The time isn't worth the impact. It was a nice intro to Medusa though and how people can help each other in a community. The open source spirit was there.

dtogether.ca-frontend's People

Contributors

kleenkanteen avatar

Stargazers

Asser Ismail avatar

Watchers

 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.