GithubHelp home page GithubHelp logo

dev-komenzar / riceplate Goto Github PK

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

Frontend App Boilerplate with SvelteKit, Bun, TailwindCSS, Autoprefixer, ESLint, StyleLint, MSW and Husky

License: MIT License

JavaScript 48.41% HTML 7.59% CSS 2.50% TypeScript 37.66% Svelte 3.84%
svelte sveltekit-template

riceplate's Introduction

Riceplate

LICENSE

Rice-plate is my frontend app boilerplate for developping with SvelteKit.

  • SvelteKit
  • Runtime: Bun
  • PostCSS and TailwindCSS
  • Autoprefixer
  • Format & Lint: ESLint
  • CSS Lint: StyleLint
    • โŒ No Prettier
  • Husky + staged
  • Mocking library: MSW
  • Avoid mistakenly running npm, yarn, and pnpm commands

Installation

Read this installation to install Bun. Clone this repository to your local and run bun install.

DON'T use npm, yarn, pnpm or other package managers!!!

VS Code

Search Bar > Show and Run Command (Shift + Command + P) > Tasks: Run task Tasks are already configured to use Bun.

Mock

Use MSW for mock testing. Write handlers to src/mocks/handlers.ts. MSW is loaded only when development mode. See src/hooks.client.ts and src/hooks.server.ts.

Create .env file in root dir and set two values: ENABLE_MSW_SERVER, PUBLIC_ENABLE_MSW_CLIENT as true if you want to use msw.

riceplate's People

Contributors

dev-komenzar 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.