Giter Site home page Giter Site logo

frontend-template's Introduction

A template to bootstrap Wealize Frontend projects


This application uses NextJS.

Getting started

To start a new project, click on the "Use this template" button.

Install dependencies to your project by running the following command:

yarn install

To run your application in the localhost, please use this command:

yarn dev

Please, use the following command to validate your code running static, unit, and integration tests:

yarn validate

Design System

The application use Base Web. Base Web is a design system for building websites in React. It is open-source.

The main benefits of the Base Web design system are:

  • built-in accessibility
  • performance

Styletron is the CSS-in-JS engine powering Base Web. That is one of the fastest solutions.

Front-end Testing

The project includes these forms of testing:

  • Static Analysis: catch typos and type errors as you write the code.

ESLint statically analyzes your code to find problems. Prettier enforces a consistent code style. This project use TypeScript. By understanding JavaScript, TypeScript saves you time catching errors and providing fixes before run code.

  • Unit: verify that individual, isolated parts work as expected.
  • Integration: verify that several entities work together in harmony.

This application uses JavaScript Testing Framework - Jest with React Testing Library. Tests live in the tests folder, when is possible, next to the file they are testing. Jest also collects code coverage information.

  • End-to-end: a helper robot behaves like a user to click around the app and verify that it functions correctly, sometimes called "functional testing" or e2e.

These tests are written with cypress and Cypress Testing Library. End-to-end tests live in the cypress/e2e folder.

Use the following commands to open and add more Cypress tests:

yarn test:e2e:dev

Use the following commands to run Jest tests related to only the files that have changed:

yarn test:watch

frontend-template's People

Contributors

drankolq avatar olga-f avatar dependabot[bot] avatar danitico avatar flaranda avatar miangame avatar

Stargazers

Guillermo González avatar

Watchers

James Cloos avatar Cristina Santamarina avatar  avatar Miguel A. Calero Fernández avatar Karla Jaramillo avatar Antonio Romero avatar Jesús Mejías Leiva 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.