patrickarmengol / somethingcoffee Goto Github PK
View Code? Open in Web Editor NEWwebsite for discovering specialty coffee shops
License: Apache License 2.0
website for discovering specialty coffee shops
License: Apache License 2.0
get
decorator; check docsoperation_id
argname
argsummary
argdescription
argAdding roasters domain is a bit of a long term goal. Likely will be implemented as a many-to-many relationship with shops. IDK if I should add to map. Many coffeeshops are roasters already and making a distinction would be confusing.
My idea for the roaster field in the shop details page looks like one of the following:
# null case
roaster: unknown
# they roast their own beans
roaster: self
# roaster partner
roaster: <a href="/roaster/{roaster.id}">{roaster.name}</a>
I also have to think about the case where the shop has multiple roaster partners. Should shop's roaster
be roasters
?
Also, what if the shop roasts their own, but the roaster name differs from the shop name?
Currently, bogus example shops are being used to test. Curate shops and populate the db. It should be limited to one city to start out.
/api/shops
endpointcache
arg in operation decorators where needed (like lists)/
use docker-compose to set up project for deployment
Working with jinja isn't the most pleasant experience. I should look at moving the frontend to a framework like vue instead and just let litestar only handle the api. This would simplify routing as well.
include the following amenities tags:
beans
espresso-based
batch brew
hand drip
cold brew
snacks
meals
milk alternatives
pet friendly
free wifi
add a link to the shop details page in the marker popup
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.