Make a Webservice

· by

Contents

I started doing web-stuff again! There are a gazillion decisions to make when you create even a medium-sized web service. This article is intended to give a small overview.

This is an article I had for quite a while as a draft. As part of my yearly cleanup, I've published it without finishing it. It might not be finished or have other problems.

Quick n' Dirty

You can set up a first page in about 10 minutes, if you have a DigitalOcean account and the domain via namecheap:

  1. Create Docker digital ocean droplet
  2. Add SSH-Key to machine
  3. Clone GitHub repository
  4. Create A-Record in namecheap (takes 24h)

Flask Ecosystem

Databases

Front-End Framework

WYSIWYG Editors

I would like to have a WYSIWYG editor. It should support heading types, bold/italic/underline, tables, images, videos from YouTube, file upload and MathJax formulas.

It would be nice if it supported storing / rendering directly from Markdown. If that doesn't exist, I might convert the HTML to Markdown and back with Pandoc.

Editor QuillJS Summernote CKEditor 4 Trumbowyg Redactor Medium Froala
Toolbar custom custom custom ? custom ? custom
Bold/Italic/Underline B+I+U B+U B+I B+I B+I B+I+U B+I+U
Headings 3 6 3 4 6 2 4
Tables No Good Ok Bad, via Plugin Ok Good, via plugin Good
Lists ol+ul ol+ul ol+ul ol+ul ol+ul No ol+ul
Links Yes Yes Yes Yes Yes Yes Yes
File Upload No No Yes No Yes No Yes
Images Bad Good Good Bad Basic, nice Bad, via plugin Very Good
Code Yes Bad, also via plugin Good, via Plugin via plugin Bad No Bad
MathJax Bad Good, via plugin Good, via plugin Basic, via plugin No No Questionable, via plugin
(Y)ouTube / (V)imeo No Y+V No No No Bad, via plugin Yes
Output JSON HTML HTML HTML HTML HTML HTML
Community 604 SO 716 SO 8033 SO 38 SO 268 SO 60 SO 344 SO
Dependencies jQuery
License/Price BSD MIT GPLv2, LGPLv2.1 MIT $199 MIT $1199

One should also mention that there are a couple of Markdown editors out there. Usually, you can only write Markdown and see a preview:

See also:

  • OryEditor: Similar to Medium, but a lot more functionality
  • Trix: Another super basic editor. Looks nice.
  • TinyMCE

Decisions

Favicon

Small Services

E-Mail

Image Upload

Social Stuff

There are two aspects of social service optimization: Making it easy to share stuff from your site and being active on that site. Or at least reachable.

Payment

Tests

More