Coder Social home page Coder Social logo

heniville / delivery-app-cypress-tests-bdd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tatianeaguirres/delivery-app

0.0 0.0 0.0 3.04 MB

🚚 Website created for online scheduling of road transportation -> Under construction 🚧

JavaScript 85.30% CSS 13.23% HTML 1.47%

delivery-app-cypress-tests-bdd's Introduction

🚚 Delivery App

Requirements

You must have all the following applications installed:

Running the application

First, install all the dependencies running the following command: yarn

Start the server and the application with: yarn start

There you go! A tab should be shown on http://localhost:3000 (if not, just click here)

Making google maps work

  1. Go to Google maps API page and get an API Key
  2. Create a file called .env in the root of your project's directory.
  3. Inside the .env file, adds your api key to the variable: REACT_APP_GOOGLE_API_KEY=your_api_key_here
  4. In order to read env variables, you should restart your server.
  5. The .env file is already in the .gitignore file, if it’s appearing to add to commit it means your .env file is not in root.

How to run the tests

Unit Tests

yarn test:unit

to run the e2e, api and visual regression tests you need to run first: "yarn start"

e2e Tests

yarn test:e2e

API Tests

yarn test:api

Visual Regression Tests

yarn test:visual

Updating Visual Regression Tests

yarn test:visual-update

Troubleshooting

If you had any problem trying to run the application or the tests make sure that you have met the following requirements:

Node version: v12.8.0
Npm version: v6.13.1
Yarn version: v1.17.3

Technical Decisions

Here is a document with all my technical decisions: link

Technical debts

A list of technical debits I keep working on: link

delivery-app-cypress-tests-bdd's People

Contributors

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