widyaageng / backendthree

0 stars 0 forks source link

To fix issue #3 Enumerating New Data #4

Closed widyaageng closed 2 years ago

widyaageng commented 2 years ago
  1. Improve parsing, eg: doesnt allow url without http://www. or http://www. in front, for dns check
  2. Checking url document if it exists, yes: return json, no: create and return json
  3. addding /get router /api for urlembedded query with param shorturl, linked to shorturl field in mongoose document
  4. adding /deleteAll in router /api to delete documents in URL mongoose model