Skip to content

ninadarbaidze/Covid-Form

Repository files navigation

logo

Redberry Covid Form

The Covid Questionnaire is an application for Redberry's new employees. It's purpose is to know their attitude towards the Covid situation and how Redberry can improve and contribute to the company's internal Covid policy.


Table of Contents

Prerequisites

🔴 Node JS v16.X
🔴 npm v8


Tech Stack

🔴 React v18.0.0
🔴 Taiwlind v3.X
🔴 Cypress v9.X


Resources


Getting Started

  1. Clone Redberry Covid Form repository from github:
git clone https://github.com/RedberryInternship/covid19-ninadarbaidze.git
  1. Install dependencies
npm install
  1. Make a development server available for the application.
npm start

Testing

Redberry Covid Form application is test driven. It uses E2E testing framework Cypress.

  1. Make sure to install dependences
npm install
  1. Create cypress.json file.

This JSON file is used to store any configuration values you supply. The default behavior of Cypress can be modified by supplying any of the following configuration options.

You can create and copy initial values from cypress.json.example with following command:

cp cypress.json.example cypress.json
  1. Run a Development server
npm start
  1. Run Cypress end to end testing using command:
npx cypress open

Project Structure


├─── public
├─── src     
│   ├─── assets     
│   ├─── components    
│   ├─── pages 
│   ├───├─── CovidPolitics
│   ├───├───├─── components
│   ├───├───├─── hooks
│   ├───├───├─── CovidPolitics.jsx
│   ├───├─── CovidSituation
│   ├───├───├─── CovidSituation.jsx
│   ├───├─── PersonalInformation
│   ├───├───├─── components
│   ├───├───├─── PersonalInformation.jsx
│   ├───├─── Thanks
│   ├───├───├─── Thanks.jsx
│   ├───├─── Vaccinated
│   ├───├───├─── components
│   ├───├───├───├─── Paragraph.jsx
│   ├───├───├─── Vaccinated.jsx
│   ├───├─── Welcome
│   ├───├───├─── Start.jsx
│   ├─── state  
│   ├───├─── context.js
│   ├───├─── user-context.js     

- .eslintrc.json   
- .prettierrc.js  
- tsconfig.json     
- package-lock.json 
- package.json       
- App.jsx     
- postcss.config.js
- tailwind.config.js