jmn / remix-house-stack

Like the Remix Indie Stack, without the deployment or Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remix House Stack

The Remix House Stack

Learn more about Remix Stacks.

npx create-remix --template cephalization/house-stack

What's in the stack

Not a fan of bits of the stack? Fork it, change it, and use npx create-remix --template your/repo! Make it your own.

Development

  • Initial setup: If you just generated this project, this step has been done for you.

    npm run setup
  • Validate the app has been set up properly (optional):

    npm run validate
  • 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: rachelrox

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.

Deployment

Bring your own

GitHub Actions

We use GitHub Actions for continuous integration.

Testing

Vitest

For lower level tests of utilities and individual components, we use vitest. We have DOM-specific assertion helpers via @testing-library/jest-dom.

Type Checking

This project uses TypeScript. It's recommended to get TypeScript set up for your editor to get a really great in-editor experience with type checking and auto-complete. To run type checking across the whole project, run npm run typecheck.

Linting

This project uses ESLint for linting. That is configured in .eslintrc.js.

Formatting

We use Prettier for auto-formatting in this project. It's recommended to install an editor plugin (like the VSCode Prettier plugin) to get auto-formatting on save. There's also a npm run format script you can run to format all files in the project.

About

Like the Remix Indie Stack, without the deployment or Cypress


Languages

Language:TypeScript 87.9%Language:JavaScript 8.2%Language:Dockerfile 2.8%Language:Shell 1.1%