Welcome to TypeScript React Cocktails 👋
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.
✨ Demo
A live demo is deployed to GitHub pages.
Install
npm install
Usage
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.
Run tests
(This repo doesn't have tests.)
npm run test
Author
👤 Sophia Brandt
- Website: https://www.sophiabrandt.com
- Mastodon: @sbr@hachyderm.io
- Github: @sophiabrandt
Show your support
Give a ⭐️ if this project helped you!
Contributing
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
📝 License
Copyright © 2019 Sophia Brandt.
This project is MIT licensed.
Acknowlegments
CSS, HTML, and the Javascript form validation function are from the Front-End Challenges Club.
This README was generated with ❤️ by readme-md-generator