GithubHelp home page GithubHelp logo

isabella232 / visual-testing-handbook-react-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chromaui/visual-testing-handbook-react-template

0.0 0.0 0.0 401 KB

Boilerplate template for the Visual Testing handbook

License: MIT License

Shell 0.50% JavaScript 46.29% HTML 34.54% CSS 18.67%

visual-testing-handbook-react-template's Introduction

Chromatic

Chromatic's Visual Testing Handbook React template

This template ships with the main React and Storybook configuration files you'll need to get up and running fast.

πŸš… Quick start

  1. Create the application.

    Use degit to get this template.

    # Clone the template
    npx degit chromaui/visual-testing-handbook-react-template commentlist
  2. Install the dependencies.

    Navigate into your new site’s directory and install the necessary dependencies.

    # Navigate to the directory
    cd commentlist/
    
    # Install the dependencies
    yarn
  3. Open the source code and start editing!

    Open the commentlist directory in your code editor of choice and build your first component!

  4. Browse your stories!

    Run yarn storybook to see your component's stories at http://localhost:6006

πŸ”Ž What's inside?

A quick look at the top-level files and directories included with this template.

.
β”œβ”€β”€ .storybook
β”œβ”€β”€ node_modules
β”œβ”€β”€ public
β”œβ”€β”€ src
β”œβ”€β”€ .env
β”œβ”€β”€ .gitignore
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package.json
β”œβ”€β”€ yarn.lock
└── README.md
  1. .storybook: This directory contains Storybook's configuration files.

  2. node_modules: This directory contains all of the modules of code that your project depends on (npm packages).

  3. public: This directory will contain the development and production build of the site.

  4. src: This directory will contain all of the code related to what you will see on your application.

  5. .env: Simple text configuration file for controlling the application's environment.

  6. .gitignore: This file tells git which files it should not track or maintain during the development process of your project.

  7. LICENSE: The repository is licensed under the MIT licence.

  8. package.json: Standard manifest file for Node.js projects, which typically includes project specific metadata (such as the project's name, the author among other information). It's based on this file that npm will know which packages are necessary to the project.

  9. yarn.lock: This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (Do not change it manually).

  10. README.md: A text file containing useful reference information about the project.

Contribute

If you encounter an issue with the code, we encourage you to open an issue.

Learning Storybook

  1. Read our introductory tutorial at Learn Storybook.
  2. Learn how to transform your component libraries into design systems in our Design Systems for Developers tutorial.
  3. Learn the basics of visual testing in our Visual Testing handbook.
  4. See our official documentation at Storybook.

visual-testing-handbook-react-template's People

Contributors

jonniebigodes 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.