Giter VIP home page Giter VIP logo

solid-boilerplate's Introduction

Solid Boilerplate

Solid Boilerplate - qeleb

Solid Boilerplate


Getting Started

⚠️ Using Yarn Package Manager is recommended over npm.

  1. (Optional) Install the VS Code extensions listed in .vscode/extensions.json

  2. Use yarn to install dependencies

  3. Use yarn dev to start development server


Commands

Install & Start

  1. ⬇️ yarn - install dependencies
  2. 🧑‍💻 yarn dev - start local development server
  3. 🖥 yarn preview - start local production server

Build

  1. 🔨 yarn build - build for production & output to dist/ with Vite (Esbuild)

Test

  1. 🧪 yarn test - run unit tests & generate coverage report in coverage/
  2. 🧾 yarn test:ui - open unit test UI

Lint

  1. 🧹 yarn lint - lint files in src/
  2. 🧼 yarn lint:fix - lint files in src/ & fix automatically

Files

  • coverage/ - Unit test coverage
  • dist/ - Code output
  • public/ - Static files
  • src/ - Project source code
    • __test__/ - Unit test files
    • assets/ - assets
    • components/ - UI components
    • pages/ - Pages
    • App.tsx - Parent component
    • global.d.ts - Global TypeScript type declarations
    • index.tsx - Solid entry point
  • index.html - App HTML entry point

Workspace

Runtime, Editor, & plugins

____ Required ____ Recommended
NodeJS Node 18 or later is recommended Error Lens Error Lens for showing warnings & error messages inline exactly where they happen
VS Code VS Code for launch configs, recommended extensions, style guidelines, file associations, & more. Console Ninja Console Ninja for in-editor console output
Eslint Eslint for linting files according to the custom rule set Thunder Client Thunder Client for testing API calls
Prettier Prettier for formatting code Vitest Vitest displays tests in VS Code

Additionally, Todo TreeTodo Tree is great for seeing an overview of the TODO's & NOTE's in the project.

Linting

Linting is provided by ESLint with a custom configurations & the following plugins:


solid-boilerplate's People

Contributors

qeleb avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

quincarter

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.