More Premium Hugo Themes Premium Tailwind Themes

Dnb Stack

The Remix Stack for deploying to Vercel with testing, linting, formatting, structure and mock for 3rd party API integration.

Dnb Stack

The Remix Stack for deploying to Vercel with testing, linting, formatting, structure and mock for 3rd party API integration.

Author Avatar Theme by robipop22
Github Stars Github Stars: 93
Last Commit Last Commit: May 19, 2025 -
First Commit Created: Jan 15, 2024 -
default image

Overview

The Remix DnB Stack is a development stack that provides a comprehensive set of tools and features for building web applications. It includes features such as Vercel deployment, GitHub Actions for continuous deployment, an opinionated folder structure, mocking API requests, styling with Tailwind, end-to-end testing with Cypress, unit testing with Vitest and Testing Library, code formatting with Prettier, linting with ESLint, and static typing with TypeScript. It also includes pre-commit hooks using Husky to ensure code quality before committing.

Features

  • Vercel deployment with Vercel CLI
  • GitHub Actions for deploy on merge to production and staging environments
  • Proposed opinionated folder structure for the project
  • Mocked API request for the project and route example
  • Styling with Tailwind
  • End-to-end testing with Cypress
  • Unit testing with Vitest and Testing Library
  • Code formatting with Prettier
  • Linting with ESLint
  • Static Types with TypeScript
  • Pre-commit hooks using Husky

Installation

To install the Remix DnB Stack, follow these steps:

  1. Make sure the dependencies are installed
  2. Start the Remix development server by running the command npx remix run
  3. Open up http://localhost:3000 in your browser to access the app
  4. To access a specific route, go to http://localhost:3000/[route], e.g., http://localhost:3000/books

Summary

The Remix DnB Stack provides a comprehensive set of tools and features for building web applications. It includes deployment and continuous integration with Vercel and GitHub Actions, an opinionated folder structure, mocking API requests, styling with Tailwind, comprehensive testing with Cypress, Vitest, and Testing Library, code quality and formatting tools like ESLint and Prettier, and static typing with TypeScript. The stack also includes pre-commit hooks using Husky to ensure code quality before committing. Overall, the Remix DnB Stack offers a powerful and efficient development environment for building high-quality web applications.