I Built My Own Auth Server Instead of Reusing Firebase
dev.to·3h·
Discuss: DEV
🏠Self-Hosting
Preview
Report Post

I built AuthServer because I got tired of copy-pasting login and OAuth logic every time I started a new project. This semester alone, I had three different apps (React, React Native, and a backend service) that all needed authentication, and maintaining separate auth logic was painful.

uthServer is a standalone authentication backend that handles:

email/password login

Google OAuth

JWT token verification

password resets

basic user profile APIs

It exposes REST APIs so other apps can integrate without handling secrets directly.

I built it using Node.js, Express, and MySQL, containerized everything with Docker, and set up Jenkins to deploy it to my own server. Setting up CI/CD for a personal project was new for me, and I broke the pipeline more times than I’d like to admit.

Th…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help