Skip to content

React | Redux | Typescript | NodeJS | Vitest | Cypress | More in the documentation.

Notifications You must be signed in to change notification settings

MrPingviin/Bene_InterviewApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather App for Interview

Used technologies:

I left the .env file in the project on purpose. The API is free and public plus this key is only for this project anyway.

Project Requirements

Project Content

  • Frontend
    • Contains the client side React project
  • Backend
    • Contains the server side NodeJS/Express project

How to host the demo

npm install => Install the required dependencies both in the frontend and backend folder.

npm run dev => Start the frontend dev server on your local computer. (The default port is 5173).

npm start => Start the backend NodeJS server on your local computer. (The default port is 3500).

http://localhost:5173/ => You can reach the demo at this address. Make sure you have both the frontend and backend server running.

That's it. Now you have a cool weather app running on your system. Yay!

How to run the tests

In the /Frontend/ folder

Unit tests

npm run vitest:run => To run the tests in the Console/Terminal.

E2E tests

npm run cypress:run => To run the tests in the Console/Terminal.

npm run cypress:open => To run the tests in the integrated browser.

Project TODO:

  • Backend tests
  • Mobile, tablet view
  • Remove option for the saved cities

About

React | Redux | Typescript | NodeJS | Vitest | Cypress | More in the documentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages