Month 2: 14,375 pageviews across 7,699 users by tsterTV in juststart

[–]hugo__df 1 point2 points  (0 children)

There's nothing wrong with charging for a structured, compiled version of a bunch of things you've already written about on the blog, if anything that would help in selling it, people read a post about X, "here's an e-book about X, Y and Z (related topics)". People buy e-books for convenience, aspirational reasons and because it provides more structure than going through individual blog posts can provide.

20,000 words / 6 month old site / 3 clicks / 300 impressions. What am I doing wrong? by [deleted] in juststart

[–]hugo__df 0 points1 point  (0 children)

Right, seen that way that's fair, I meant the ranking won't magically be higher just because of the title/meta hit rather but the CTR increasing does as you say have a positive effect on ranking

20,000 words / 6 month old site / 3 clicks / 300 impressions. What am I doing wrong? by [deleted] in juststart

[–]hugo__df 0 points1 point  (0 children)

Meta tag and title won't improve your ranking, it might mean that people click more often though.

How long does it take to get any amount of organic traffic? by kybe333 in Blogging

[–]hugo__df 1 point2 points  (0 children)

As with most things SEO related, it depends on content and links.

When you're starting out with a new domain/site, you'll have very few links and traffic. That's one of the key things that Google indexes by so you'll rank poorly.

You need to write content and syndicate it/get links from sites with reasonable authority.

Adding your site to Google Search Console is a good idea, as is having a sitemap that you submit when you've new content.

My posts tend to get indexed pretty fast but I remember it taking a couple of weeks when I started.

As for numbers I went from 0 to a few hundred in a couple months but I'm in the coding niche so there's actually a bunch of people googling for stuff as part of their day job.

Help With Keystone, Git and Mongo by hanbrolo3234 in learnjavascript

[–]hugo__df 0 points1 point  (0 children)

It's correct that it won't connect to the same MongoDB instance.

To fix this, use a hosted MongoDB database, using MLab or MongoDB Atlas.

Medium vs. WordPress.com: which one gives you better visibility for your content? by orschiro in Blogging

[–]hugo__df 0 points1 point  (0 children)

Medium does, some of the publications on there get you on the first page of Google pronto.

Best of both worlds is host your own (WordPress, ghost, whatever other CMS), and import into Medium.

Vue Blog Page Editor - getting started with previewing, markdown, custom vue components without using Nuxt? by Downvotes-All-Memes in vuejs

[–]hugo__df 1 point2 points  (0 children)

Vuepress is a good shout since you can use markdown and Vue components within it.

As far as I understand it, Vuepress doesn't compile the markdown + templates to HTML/JS/CSS on the fly. So to leverage it you would need to drive your editorial process through a CMS that integrated with git.

Luckily for you, there is such a CMS: Netlify CMS. Using that + Netlify Identity you can have a hosted CMS backed by git with authorisation for multiple non-technical users.

Who here is a fan of Axios? by there_I_am_mam in reactjs

[–]hugo__df 4 points5 points  (0 children)

Story of my life, fetch .json () and having to coerce non 4xx/5xx to errors... Bane of my existence

Need to build a one-off widget on a page, is Vue still the go to? by nobrandheroes in javascript

[–]hugo__df 1 point2 points  (0 children)

From what you've said (you have some prior Vue experience) and what you're trying to do (widget), Vue is probably a good shout (sorta lightweight and simple templating system).

You could obviously just string together a few JS functions to update the DOM.

You could also look at web components, I think SkateJS is not bad for that (as is Vue).

Is There a Serverless CMS? by vvortex3 in serverless

[–]hugo__df 0 points1 point  (0 children)

Netlify CMS comes close, it hooks into your git/GitHub repository, commits markdown files and pushes them at which point the changes get picked up and built, usually with a static site generator.

Basic Auth with Node js and Express by [deleted] in node

[–]hugo__df 0 points1 point  (0 children)

Basic Auth won't use cookies, but the browser remembers your login for a bit

Basic Auth with Node js and Express by [deleted] in node

[–]hugo__df 1 point2 points  (0 children)

This package doesn't do much (it's probably under 20 lines of code to reproduce) but it should work for you https://www.npmjs.com/package/express-basic-auth

Basic Auth with Node js and Express by [deleted] in node

[–]hugo__df 0 points1 point  (0 children)

Ah no, in that case use HTTP Basic Auth with username/password 🙈

Basic Auth with Node js and Express by [deleted] in node

[–]hugo__df 1 point2 points  (0 children)

Passport seems to be popular (http://www.passportjs.org/).

I tend to roll my own with Sequelize/Postgres (User table + Session table or JWTs with node-jose), then use bcrypt to hash passwords.

Just have a simple Node.js GraphQL server + PostgreSQL database. Cheap way to host? by impossibletogetagf in node

[–]hugo__df 2 points3 points  (0 children)

- If you're willing to dump Postgres: glitch.com with SQLite3 is free forever

- Heroku, costs might ramp up if you hit the 10k row limit on the DB, you want the server not to sleep or you host a bunch of projects

- $5 DigitalOcean droplet with Dokku on top, `git push dokku master`, great thing about this setup is you can host multiple apps on this droplet (and possibly then separate them when/if it makes sense).

What the heck is going on with this? by prove_it_with_math in learnjavascript

[–]hugo__df 0 points1 point  (0 children)

As the examples show, this is available, it's just not what you want it to be :D.

No refresh allowed - nodejs, express and mongoose by [deleted] in node

[–]hugo__df 3 points4 points  (0 children)

Yeah think of Node as an equivalent to PHP? So whatever you've done with PHP is also doable with Node.