Code Monkey home page Code Monkey logo

golinks's Issues

feat: add auth0 terraform files

Is your feature request related to a problem? Please describe.
Yes, I am frustrated that to deploy this application and take advantage of Auth0 as an authentication provider, I have to go through an extensive manual configuration step to get Auth0 configured properly:

  • creating an application
  • setup login, logout, redirect url's
  • setup social identity providers
  • setup roles and permissions
  • setup rules

Describe the solution you'd like
I'd like to have a set of terraform files that I can use to bootstrap and maintain Auth0 state using infrastructure-as-code.

Describe alternatives you've considered
Integrating manually with Auth0 API is possible, but seems a lot of work when comparing to using a tool that does a decent job at managing infrastructure such as Terraform.

fix: move link usage metrics creation to the backend

Describe the bug
Currently, link usage metrics are reported from the frontend while redirecting the user. This makes it necessary to give INSERT permissions into the link_usage_metrics to anonymous users, which is a security risk and also unnecessary.

Moving it to the backend would make it safer and faster for the user (because we can reply to the request immediately and send metrics in the background).

feat: a better database migration and seeding process

Is your feature request related to a problem? Please describe.
The current database migration and seeding are fairly trivial:

  • in development it leverages the default behaviour of the postgres docker image, to run all scripts provided in a folder when initializing an empty database.
  • in production, there is none (which is the problem)

Implementing a better database migration process would help to apply changes to the database schema in production safely.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.