Code Monkey home page Code Monkey logo

Comments (8)

shamimbinnur avatar shamimbinnur commented on June 20, 2024 1

@bdougie Did you mean https://opensauced.pizza/username to https://insights.opensauced.pizza/user/username?

from landing-page.

bdougie avatar bdougie commented on June 20, 2024 1

Let's go with /u

from landing-page.

bdougie avatar bdougie commented on June 20, 2024

@bdougie Did you mean https://opensauced.pizza/username to https://insights.opensauced.pizza/user/username?

Yes. This will most likely need an edge function to quickly check if the user exist in the API.

Open to other suggestions.

from landing-page.

shamimbinnur avatar shamimbinnur commented on June 20, 2024

@bdougie Did you mean https://opensauced.pizza/username to https://insights.opensauced.pizza/user/username?

Yes. This will most likely need an edge function to quickly check if the user exist in the API.

Open to other suggestions.

@bdougie Where would the user be redirected if the user doesn't exist?

Since we are redirecting users to the insight, shouldn't the insight app handle the rest?

from landing-page.

bdougie avatar bdougie commented on June 20, 2024

Since we are redirecting users to the insight, shouldn't the insight app handle the rest?

Correct ideally the insights app would have a 404. Today the page displays with errored data if not found.

from landing-page.

bdougie avatar bdougie commented on June 20, 2024

Might be better suited for a URL shortener.

from landing-page.

shamimbinnur avatar shamimbinnur commented on June 20, 2024

@bdougie If we use the "/username" path we will be required to check our existing pages ('/blog', '/teams) and add some logic to treat these as reserved paths. And this has to be refactored every time we add a new route for pages.

But if we use "/u/username" we will not be required the checking.

Which path should we go for?

from landing-page.

shamimbinnur avatar shamimbinnur commented on June 20, 2024

@bdougie This issue has been fixed and addressed in #128

from landing-page.

Related Issues (20)

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.