Giter VIP home page Giter VIP logo

stam-pot's Introduction

Project Details

Technical Details

This project was bootstrapped with Create React App.

Code Organization

├── src/
│   ├── assets/
│   │   ├── images/
│   │   └── svgs/
│   ├── components/
│   │   └── __tests__/
│   │
│   ├── pages/
│   ├── contexts/
│   ├── helpers/
│   ├── styles/
│   ├── App.js
│   ├── index.js
Description
public contains static assets to be deployed alongside the react application
src main source directory for the application
src/assets contains the main static files that are accessed by the React source code
src/components the source files for reusable components developed for this application
src/components/__tests__ tests used for different components within the application
src/pages the components that act as the different pages to the application
src/contexts (not included) contains multiple different context providers
src/helpers (not included) contains common JS functions for multiple file applications
src/styles stores any application styling, use can vary per application
index.tsx the entry point into the react app
  • While this template is designed to use this structure, this is not a strict requirement.
    • Keep in mind, it still needs the basic files for React to work.

Dependencies

Below is a list of the primary libraries used to support this application. See package.json for the complete list.

Dependency Description
react-router-dom Application level routing
node-sass Compiler for scss, less, and sass
prettier Sophisticated linter

Local Development

Installation / Setup

  • git clone <repository-url> this repository
  • cd project-directory
  • yarn install

Local Development

Description
yarn start Runs application in development mode with hot reload support
Open http://localhost:3000 to view it in the browser
yarn lint
yarn lint:fix
Runs ESLint to ensure proper styling and formatting as well as static code analysis for typescript/javascript files

Testing

This application leverages a number of tools for test coverage

  1. jest is used for unit test coverage
  2. jest-axe is a jest addon to allow unit tests to validate accessibility of components
Description
yarn test Executes the unit test suite using jest in watch mode. This differs from yarn test:watch in that it will execute tests based on git revisions
yarn test:watch Executes the unit test suite using jest in watch mode

Building

Description
yarn clean Cleans build directories
yarn build Builds the application for deployment (production mdoe)
yarn analyze Analyzes build bundle sizes (run yarn build first)

Credits

The DeveloperTown CRA template inspired this template: DeveloperTown CRA Template

stam-pot's People

Contributors

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