Tutorials

Step by step guides for Server Next.

Build a REST API with JavaScript

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Sign in with GitHub using OAuth

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Upload files to disk or S3

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Real-time chat with WebSockets

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Persist data with Redis or SQLite

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Protect an API with API keys

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Github and Google login in one app

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Google login persisted in SQLite

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Github login persisted in Redis

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Revocable sessions in Postgres

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Discord login with JWT bearer tokens

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Supabase auth with your own users

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Clerk auth in a same-origin cookie

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Firebase auth from a mobile app

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Keycloak SSO with any OIDC issuer

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.

Github OAuth scopes and access tokens

A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.