Coder Social home page Coder Social logo

msrxse / default-scaffold Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 384 KB

FE app showcase - displaying a list of items

JavaScript 44.19% HTML 1.68% CSS 4.50% TypeScript 49.63%
css-grid-layout hooks msw react-query scafolding testing testing-tools

default-scaffold's Introduction

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

To start development server:

pnpm run dev

Next, open your browser and visit http://localhost:5173/. The default React project will be running on port 5173.

Note:

if running `antfu.vite` and `antfu.browse-lite`, vite server will start itself at port 4000.

Tests

pnpm test:watch

or

pnpm test:watch <path-to-file>

Tooling:

  • Vite: Frontend build tool that serves your source files over native ES modules, with rich features and fast Hot Module Replacement (HMR). Vite is fast because it doesn't bundle your code at all. It leverages the native support for ESM (ECMAScript Modules) of modern browsers. It sends your file directly without being bundled
  • @vitejs/plugin-react-swc: This speeds up your Vite dev server with SWC (~20x faster than Babel)
  • ESLint and Prettier: For linting and pretty-printing JavaScript code respectively
  • Jest and @testing-library/react: for unit testing
  • Vitest: Modern testing framework
  • MSW: Mock Service Worker (MSW) is an API mocking library for browser and Node.js. See stop mocking fetch. With MSW, you can intercept outgoing requests, observe them, and respond to them using mocked responses. MSW can integrate throughout your entire stack, allowing you to reuse and customize network behavior on demand. Imagine using the same API mocks during development, integration and end-to-end testing, and then in your Storybook or during a live demo.

POSSIBLE NEXT TODOS

  • Add commitlint (Helps team adhere to a commit convention)
  • Add ContextModule with data and possibility of persistent article edition

Useful links

default-scaffold's People

Contributors

msrxse avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.