Open source authentication and payments for saas
We provide open source authentication and we couple it with payments, to provide a the 20% of the functionalities that serve the 80% of the saas requirements, so that they can launch faster.
We released our first npm package! It greatly reduces the difficulty to integrate Saasform, moving down to a few lines of code:
const passport = require('passport');
const SaasformStrategy = require('[@saasform](/saasform)/passport-saasform');
passport.use(new SaasformStrategy({
saasformUrl: 'https://beautifulsaas.com',
appBaseUrl: 'https://app.beautifulsaas.com',
}));
const auth = passport.authenticate('saasform', { session: false });
app.get('/', auth, (req, res) => {
res.send(`Hello ${req.user.email}!`)
})
We plan to create a few more packages.
A awesome guy starred out project on GitHub; I gave a look at his profile and he says that he's a student, looking for an internship in software development. So I decided to push my luck and I asked him if he was OK to contribute a little and he said it was fine.
And now he's doing a great job, filing bugs, discussing issues and contributing some code too.
It's so great to find people like this; it's what I love about open source. Jay!
We got listlinks online. After a couple of days of support and a feature request (quickly done since they are the 100% of our users :-) ) it's online.
Launching was easier than expected and after a quick chat with it's developer it seems that integration with Saasform also was easy.
We release most of the code on GitHub and we redeployed the cloud version using this code. Now we can officially work on the open source code and ship it on our production 馃挭.
The whole porting was easier than expected, but we took some time to refactor the code and write better tests. All in all everyone is going to see our code now 馃槵
We finished our MVP, it has the basic stuff, authentication, Stripe integration, admin dashboard.
It's done using Nest.JS and a few hack to have it ready in a short time. It works and we can showcase Saasform around and reason on how to evolve it.
I hope we can release the open source version soon.
We provide open source authentication and we couple it with payments, to provide a the 20% of the functionalities that serve the 80% of the saas requirements, so that they can launch faster.