Skip to content

This is a react example to use in the applications on my YouTube tutorials

Notifications You must be signed in to change notification settings

medhatdawoud/react-simple-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Simple Example

How to run the App

  • make sure to have node and npm installed or yarn
  • get into the project folder and run npm install or yarn install
  • Now you can run the app by running this command npm start

Online version

  • I've deployed the app into a free dyno host on heroku and you can check it out from here (keep in mind that it might take longer for the first load)
  • this would be a good solution to checkout the task in action faster.

App Technical Details

  • The application is created using the create-react-app tool
  • I've used mocked data from a json file in the src folder api.json that loads some brands and some equevelant models for testing purposes, and it can be replaced by a real API easily.

Testing Details

  • used jest and enzyme for rendering
  • you can run unit testing using npm test
  • you can also run unit testing coverage using npm run test:coverage

Episodes that used this example


Created by: Medhat Dawoud (@med7atdawoud)

About

This is a react example to use in the applications on my YouTube tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published