Code Monkey home page Code Monkey logo

Comments (9)

lhvy avatar lhvy commented on May 28, 2024 1

https://vercel.com/guides/getting-started-with-nextjs-typescript-stripe This looks useful, and obviously we can ignore the final step for deploying on Vercel.

from website.

theawesomew avatar theawesomew commented on May 28, 2024 1

That is absolutely correct on all fronts. That will likely mean I should secure my home webserver more than I presently have to ensure maximum security but, you're absolutely right.

from website.

theawesomew avatar theawesomew commented on May 28, 2024

ONG prolly not - it'll come up in networking tab lmao

from website.

theawesomew avatar theawesomew commented on May 28, 2024

I suppose we could create an API route on coopsoc's website itself. The vulnerability will be there but, it would require some substantial effort to retrieve the API key on the user's part and I can't see that being done by anyone. I'm happy to greenlight this if everyone else is.

from website.

scorpiontornado avatar scorpiontornado commented on May 28, 2024

Need to read into it more but creating our own API looks better than using google sheetsโ€™ API

from website.

theawesomew avatar theawesomew commented on May 28, 2024

I wouldn't mind using Google Sheets anyway - purely because using something like SQL Server or MongoDB would require that we create a presentable front-end which like... effort. But, we'll use the API in the backend.

from website.

theawesomew avatar theawesomew commented on May 28, 2024

And I'm no longer much of a fan of using the front-end to make API requests purely because it creates the risk of exposing the API key and that creates a serious security risk - even if we can mitigate by making multiple redirects; we still run a considerable risk.

from website.

theawesomew avatar theawesomew commented on May 28, 2024

I'm going to make the call that we host the backend on the web server in my home or we utilize Heroku - either one suffices.

from website.

scorpiontornado avatar scorpiontornado commented on May 28, 2024

Wait so to clarify - the frontend will make API requests to our custom Go backend, running on your web server. The Go server will then make API requests to stripe, mail receipts, and generate invoices. That way, we don't risk making the Stripe API keys public, right?

from website.

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.