Skip to content

Coronatime shows you current covid situation in the world with statistics of countries.

Notifications You must be signed in to change notification settings

Saba-Var/Coronatime

Repository files navigation

logo

Coronatime shows you current covid situation in the world with statistics of countries.

Table of Contents

Prerequisites

  • Node JS @12.X and up
  • npm @6 and up

Tech Stack

Getting Started

1. First of all you need to clone repository from github:

git clone https://github.com/Saba-Var/Coronatime.git

2. Next step requires install all the dependencies.

npm install

or

yarn install

3. after that you can run application from terminal:

npm start

Runs the app in the development mode. Open http:https://localhost:3000 to view it in your browser.

Testing

1. copy cypress.json

cp cypress.json.example cypress.json

2. Run application from the terminal

npm start

3. start cypress

npx cypress open

In order to see coverage of testing go to coverage/lcov-report and open index.html

Project Structure

├─── cypress # project test files
├─── readme  # readme assets
├─── src     # project source codes
│    ├── assets      # project images
│    ├── components  # reusable components
│    │   └── svgs            # svg components
│    ├── pages       # project pages
│    │   ├── ConfirmationEmail
│    │   │   └── components         # page components
│    │   ├── ConfirmedEmail
│    │   │   └── components         # page components
│    │   ├── Country
│    │   │   └── components         # page components
│    │   ├── Dashboard
│    │   │   └── components         # page components
│    │   ├── LogIn
│    │   │   └── components         # page components
│    │   ├── NewPassword
│    │   │   └── components         # page components
│    │   ├── PasswordConfirmation
│    │   │   └── components          # page components
│    │   ├── RecoveryPasswordByEmail
│    │   │   └── components          # page components
│    │   ├── SignUp
│    │   │   └── components          # page components
│    │   └── Worldwide
│    │       └── components          # page components 
│    └── state        # context api
- .eslintrc.json      # eslint config file
- .gitignore          # gitignore config file
- .prettierrc.js      # prettier config file
- cypress.json        # cypress config file
- jsconfig.json       # config file for absolute path
- package.json        # dependency manager configurations
- tailwind.config.js  # tailwindcss config file
- tsconfig.js         # typescript config file

Resources

About

Coronatime shows you current covid situation in the world with statistics of countries.

Topics

Resources

Stars

Watchers

Forks