All Templates / Starters

Remix Railroad Blues Stack

Remix Railroad Blues Stack

Remix + Postgres optimized for Railway

Deploy Remix Railroad Blues Stack

Postgres

railwayapp-templates/postgres-ssl:latest

Just deployed

/var/lib/postgresql/data

Remix

shamsup/railroad-blues-stack-railway-template

Just deployed

Remix Railroad Blues Stack

The Railroad Blues Stack

This is a fork of the Remix Blues Stack adapted for deploying to Railway

Learn more about Remix Stacks.

What's in the template?

  • Remix Notes Application
  • Postgres database
  • Email/Password Authentication with cookie-based sessions
  • Database ORM with Prisma
  • Styling with Tailwind
  • End-to-end testing with Cypress
  • Local third party request mocking with MSW
  • Unit testing with Vitest
  • Code formatting with Prettier
  • Linting with ESLint
  • Static Types with TypeScript

Local Development

  • Start the Postgres Database in Docker:

    npm run docker
    

    _ Note: The npm script will complete while Docker sets up the container in the background. Ensure that Docker has finished and your container is running before proceeding._

  • Initial setup:
    only run this the first time

    npm run setup
    
  • Start dev server:

    npm run dev
    

This starts your app in development mode, rebuilding assets on file changes.

The database seed script creates a new user with some data you can use to get started:

  • Email: rachel@remix.run
  • Password: racheliscool

Relevant code:

This is a pretty simple note-taking app, but it's a good example of how you can build a full stack app with Prisma and Remix. The main functionality is creating users, logging in and out, and creating and deleting notes.

  • creating users, and logging in and out app/models/user.server.ts
  • user sessions, and verifying them app/session.server.ts
  • creating, and deleting notes app/models/note.server.ts

Check out the stack on GitHub for more details.

Cost Estimate

For an experiment with no traffic, this should cost about $2/mo to keep deployed without App Sleeping enabled


Deploy Now

Details

Created on Mar 6, 2024

32 total projects

5 active projects

50% success on recent deploys

TypeScript, JavaScript, Dockerfile, Shell, CSS

Starters



More templates in this category

View Template

New

Django Monolith

Django Monolith

A Django app connected to a Postgres database with Celery and Celery Beat.


Prosper Otemuyiwa

View Template
TanStack + React Starter

TanStack + React Starter

A barebones TypeScript React starter with TanStack Router & Query setup


Kyle Gill

View Template
Scala Play

Scala Play

A simple Play framework app connected to a Postgres database.


Prosper Otemuyiwa