emunhoz / antecipation

Home Page:https://antecipation-value.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Antecipation

About this app

  • At the begining I setup my own webpack to start code at localhost and a build to production mode.
  • For the components I decided to use webcomponents.
  • For testing I've used jest (unit tests) and cypress to e2e
  • For requests I decided to use axios cause is very simple to use

🚀 Quick Start

  1. Clone this repo

  2. Install all dependencies.

    npm i
    
  3. Start develop mode.

    npm start
    `localhost:3000`

What's included?

  • Webcomponents
  • A folder structure with only components that we can reuse in all applications
  • A folder structure for pages. In this case we only have one, but the main idea is to make it scalable for other pages
  • Axios for requests

🚥 Testing

  • Jest - A delightful JavaScript Testing Framework with a focus on simplicity
  • Cypress - Fast, easy and reliable testing for anything that runs in a browser

Available commands

npm i to install all dependencies

npm start to run app at localhost:3000

To run the e2e test, we first need to run npm start and then npx cypress open at the same time

About

https://antecipation-value.netlify.app/


Languages

Language:JavaScript 92.9%Language:CSS 3.6%Language:HTML 3.5%