If you decided to self-publish, you may find the marketing is more than writing the course. We have an audience, and we know what they want to learn - so when your course is done, we already have people who want to buy it.
If you decide to go with a “traditional” publisher, you may be given a mediocre editor, write your book in MS Word (ha), and earn 5-15% in royalties. With us, our editors (me) are programmers first, our tooling is dev-friendly, and our royalties on profit are split 50/50. (For scale, the author of Fullstack Vue earned $20k on the opening weekend, Fullstack D3 even more.)
We’re looking to write the definitive guides on programming topics. Things like "The newline Guide to Authentication with React and Node in 2020" - But variations on that can be any major stack or task: Not only JavaScript, but also Rust, Go, Java, AWS, DevOps, Angular, React, ASP.NET Core, Serverless, Python, Elixir, Data Science etc.
If this sounds like something you’d be interested in, fill out the form linked below. Looking forward to hearing from you!
https://www.newline.co/write-with-us
(I've talked more about our economics of writing books here: https://news.ycombinator.com/item?id=17015117)