simple React example with TypeScript
My experiment in creating a basic application with React and TypeScript. Bootstrapped with create-react-app
.
It fetches data from the Cocktail Db API.
The project is a simple demo for learning purposes.
I have some experience with ReasonReact, and I wanted to see how TypeScript compares to Reason.
If you want to learn more about React with TypeScript, check out the React+TypeScript Cheatsheets.
A live demo is deployed to GitHub pages.
npm install
npm run dev
The command will run the Typescript compiler, which watches for changes in .tsx
files, and the react-scripts start
script for the React development server.
(This repo doesn't have tests.)
npm run test
👤 Sophia Brandt
- Website: https://www.sophiabrandt.com
- Mastodon: @sbr@hachyderm.io
- Github: @sophiabrandt
Give a ⭐️ if this project helped you!
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Copyright © 2019 Sophia Brandt.
This project is MIT licensed.
CSS, HTML, and the Javascript form validation function are from the Front-End Challenges Club.
This README was generated with ❤️ by readme-md-generator