5
6 Comments

Want to build a SPA in Vue

Hey, I recently graduated from school and started my first full time job. I'm interested in building a subscription manager web app for me and my friends and was wondering what the fastest way would be to get an mvp up. It would allow users to manage subscriptions as well as payment options.

I currently work with Vue.js and Typescript at work and would like to stick with that. Initial research has pointed me towards using Laravel Spark but I wanted to run it past indiehackers if there was a more simple and/or faster solution. I've never hosted a site for myself so I want to make that as easy as possible

on November 24, 2019
  1. 1

    I build SSR nuxt sites and host them on Netlify. If I need a node.js function I hook up Netlify Functions or Firebase Functions.

    For https://pages100.com/ I hooked up a Firebase function called StripeSession who creates a Stripe Checkout session and returns the string that you need to redirect to a Stripe Checkout page.

    Stripe has webhooks that can you can use when someone completes a payment. Use this to add a user to the database or update the user details.

  2. 1

    Long-time Vue.js developer here. Not using it currently but did professionally for more than a year.

    Since the application involves a backend, you would need to deploy a server somewhere or use serverless functions. Personally, I would use DigitalOcean. It is super easy to set up and you can get out an MVP really fast.

  3. 1

    I hosted a SPA with vue.js on https://www.heroku.com/ and had a pretty decent experience. They have CD/CI, many add-ons, a pretty decent UI and good docs.
    You can host a site for free, which will be good for testing and to see if you like it.

    I also tried https://www.netlify.com/ , which was a pretty similar experience.

  4. 1

    @beanbag Laravel Spark is a good starting point if you plan to support subscriptions via Stripe only. Spark uses Laravel Cashier, which recently dropped support for BrainTree (PayPal) so it may be limiting, depending on your use case.

    1. 1

      Actually BrainTree support is somewhat important for what I have planned, in particular having support for Venmo. Do you have any suggestions for alternatives?

      1. 1

        There is an abandoned https://github.com/laravel/cashier-braintree repo, but you need to test if everything still works, as it's no longer supported by the Cashier contributors.

  5. 1

    This comment was deleted 7 years ago