/    Sign up×
Community /Pin to ProfileBookmark

REST API Feedback?

I have done a draft of an REST API that basically consist of three parts.

[url=https://postimages.org/][img]https://i.postimg.cc/prjwJ554/api.png[/img][/url]

  • 1. Javascript (AJAX)

  • 2. API (Golang)

  • 3. Postgresql
  • The overall intention is to simplify and make it as DRY as possible. Having the SQL queries outside the API in a lookup database, the endpoints(routers) can be more generic (simpler to maintain).

  • 1. Can you see any security issues? (Except CORS)

  • 2. Anything you should done different?

  • 3. Any thoughts about the generic approach?
  • Any sort of feedback appreciated!

    A more detailed description of this API is found here: https://crud.go4webdev.org/api3rest

    to post a comment

    1 Comments(s)

    Copy linkTweet thisAlerts:
    @linajulieJan 28.2022 — Great info about REST API.

    **Links removed by Site staff as a spamming attempt. Pleas do not add them again.**
    ×

    Success!

    Help @sibert spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 4.25,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...