An open API service indexing awesome lists of open source software.

https://github.com/agapas/react-carousel

Image carousel made with React and TypeScript
https://github.com/agapas/react-carousel

es6 functional-programming image-carousel javascript react typescript

Last synced: 8 months ago
JSON representation

Image carousel made with React and TypeScript

Awesome Lists containing this project

README

          

# react-carousel
Image carousel made with React and TypeScript using ES6 syntax (and Class Fields and Static Properties from ES7).

Unit tests made with Jest, Enzyme and Sinon.

This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app) and [TypeScript package](https://www.npmjs.com/package/react-scripts-ts).

The project uses [react-icons](https://github.com/react-icons/react-icons).

## User interface



## Running the project

- go to project directory
- run `npm i` to install all dependencies (just a first time)
- run `npm start` (it runs the app in the development mode and it should automatically open [http://localhost:3000](http://localhost:3000) in the browser)

## Testing the project

In the project directory run `npm test`. It launches the test runner in the interactive watch mode.

Run `npm test -- --coverage` to see coverage report. Note that tests run much slower with coverage so it is recommended to run it separately from your normal workflow.

## Production build

To run a production build use command `npm run build`. It builds the app for production to the `build` folder.

## License

This project is licensed under the [GNU v3.0] License - see the [LICENSE.md](LICENSE) file for details.