senekor / buenzlimarks

A simple web app for bookmark management
The Unlicense
0 stars 0 forks source link

ensure url schema #80

Closed senekor closed 1 year ago

senekor commented 1 year ago

A bookmark stores a URL. Every url should have a schema at the beginning, for example:

If users submit a bookmark with a url that lacks a schema, we should add a default schema of https, before storing the bookmark in the database.

This is the first example of business logic that we will have in our program. Business logic should go in the module models.