Menu

I built a PaaS with its own OAuth server. Here's a deploy and a login, start to finish
📰

I built a PaaS with its own OAuth server. Here's a deploy and a login, start to finish

DEV Community: node·Marc Pomar·2 days ago
#TjyaJMUL
#devtonodejs#devto#dev#app#login
Reading 0:00
15s threshold

Hi, I'm Marc. For the last couple of years I've been building Faable, a platform where you deploy an app and, if it has users, get an OAuth 2.0 / OIDC server for them in the same account. It's hosted in the EU.

Instead of a feature list, here is what using it actually looks like: an Express app deployed from the terminal, then a login added to a frontend. Every command below is copied from our docs, and we timed the deploys on a fresh account this week.

1. Deploy an Express app from your terminal

No repository needed. Start with the smallest Express app there is:

mkdir hello-express && cd hello-express npm init -y npm install express

Enter fullscreen mode

Exit fullscreen mode

// index.js const express = require ( ' express ' )

const app = express () const port = process . env . PORT

app . get ( ' / ' , ( req , res ) => { res . send ( ' Hello World! ' ) })

app . listen ( port , ' 0.0.0.0 ' , () => { console .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.