docker-node-example
truss
Our great sponsors
docker-node-example | truss | |
---|---|---|
12 | 5 | |
198 | 31 | |
- | - | |
7.6 | 6.3 | |
about 1 month ago | about 1 month ago | |
Shell | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-node-example
-
Multi stage dockerfile examples in node.js?
Here's a full example project where a Node app is split up between a front-end and back-end with multi-stage builds: https://github.com/nickjj/docker-node-example
-
Docker-compose - how to control which services are run?
Here's a walk through on how to use them https://nickjanetakis.com/blog/docker-tip-94-docker-compose-v2-and-profiles-are-the-best-thing-ever and here's an example Node project that's using profiles https://github.com/nickjj/docker-node-example.
- Looking to use Docker & Docker Compose in production and need advice.
-
Docker Compose Examples
- https://github.com/nickjj/docker-node-example
-
Ask HN: What is the best source to learn Docker in 2023?
If your goal is to "learn Docker", I have around 100+ free blog posts and YouTube videos at: https://nickjanetakis.com/blog/tag/docker-tips-tricks-and-tu...
https://github.com/nickjj/docker-node-example is an up to date Node example[0] that's ready to go for development and production and sets up GitHub Actions. Its readme links to a DockerCon talk from about a year ago that covers most of the patterns used in that project and if not some of my more recent blog posts cover the rest.
It doesn't cover feature branch deployments tho, in my opinion that's unrelated to Docker.
[0]: You can replace "node" in the GitHub URL with flask, rails, django and phoenix for other example apps in other tech stacks.
- docker-compose file repository?
- How to setup flask with webpack
- docker-compose creates node_modules folder on host
-
I don't understand how to deal with node_modules in development.
A fully working example Node app that demos the above is here: https://github.com/nickjj/docker-node-example
- Docker-compose isn’t good for production?
truss
-
StyleX – Meta's Styling Library
Nice! We copied StyleX's "type-safe extensions" in Truss [1] so things like `` are allowed (setting margin is fine) while disallowing `` (anything "not margin") that would mess up the components internal impl details with a compile error.
That said, we don't actually use the feature that much, vs. higher-level logical props like ``.
I know we're supposed to use build-time CSS-in-JS these days, but afaiu they don't support the rare-but-handy "just spread together ~4-5 different object literals from ~random different conditionals + props", i.e. intermixing styles some inside the component + outside the component, which emotion handles really well.
Basically this [2]. StyleX says it does "cross-file styles"...but can it support that? I kinda assume not, but I'm not sure.
[1]: https://github.com/homebound-team/truss#xstyles--xss-extensi...
[2]: https://github.com/homebound-team/beam/blob/main/src/compone...
-
What working with Tailwind CSS every day for 2 years looks like
Fwiw to the avoid 80%-in-TW / 20%-in-SCSS-or-something-else dichotomy/complexity, we built Truss which brings TW (Tachyons) style abbreviations to the existing "something else" tool chain (Emotion in our case).
So then everything goes through a single system.
https://github.com/homebound-team/truss
> tailwind's and SCSS's VS code integration is pretty amazing
We get that too, by being just vanilla TypeScript, no editor-specific integration necessary. :-D
(I've linked to Truss in another response, so will stop now. :-))
- Why Tailwindcss over styled-components?
- Ask HN: Who is hiring? (November 2021)
-
TailwindCSS JIT with Arbitrary Values
Don't want to take away from Tailwind, it's great.
That said, self-promotion disclaimer but if you like inline/utility CSS, and also like TypeScript/React/Emotion, we've got a "Tailwinds-ish" CSS-in-JS library that we've enjoyed so far:
What are some alternatives?
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
headwind - An opinionated Tailwind CSS class sorter built for Visual Studio Code
class-types.macro
docker-phoenix-example - A production ready example Phoenix app that's using Docker and Docker Compose.
beam - 🪵 Beam Design System
tailblocks - Ready-to-use Tailwind CSS blocks.
docker-flask-example - A production ready example Flask app that's using Docker and Docker Compose.
docker-play-example - A production ready example Play app that's using Docker and Docker Compose.
TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.