All Projects → laststance → Create React App Typescript Todo Example 2020

laststance / Create React App Typescript Todo Example 2020

Licence: mit
🚀 Create React App TypeScript Todo Example 2020

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Create React App Typescript Todo Example 2020

play-java-rest-api-example
REST API using Play in Java
Stars: ✭ 44 (-82.75%)
Mutual labels:  example, example-project
java-basic-skeleton
☕🚀 Java Bootstrap: Skeleton for your new projects
Stars: ✭ 37 (-85.49%)
Mutual labels:  example, example-project
play-scala-streaming-example
Example Play application showing Comet and Server Sent Events in Scala
Stars: ✭ 42 (-83.53%)
Mutual labels:  example, example-project
React Antd Todo
A simple todo list app built with React, Redux and Antd - Ant Design
Stars: ✭ 42 (-83.53%)
Mutual labels:  todo, example-project
play-scala-anorm-example
Example Play Database Application using Anorm
Stars: ✭ 41 (-83.92%)
Mutual labels:  example, example-project
supabase flutter
Using Supabase in Flutter
Stars: ✭ 38 (-85.1%)
Mutual labels:  example, example-project
scala-basic-skeleton
Starting point if you want to bootstrap a project in Scala
Stars: ✭ 16 (-93.73%)
Mutual labels:  example, example-project
Wordpress Plugin Boilerplate Tutorial
Tutorials and Examples for WordPress Plugin Boilerplate, a foundation for WordPress Plugin Development.
Stars: ✭ 232 (-9.02%)
Mutual labels:  example, example-project
play-java-ebean-example
Example Play application showing Java with Ebean
Stars: ✭ 54 (-78.82%)
Mutual labels:  example, example-project
SeatLayout
A seat selection library for Android with an example for selecting seats for flights, sports venue, theatres, etc
Stars: ✭ 30 (-88.24%)
Mutual labels:  example, example-project
React Redux Typescript Realworld App
RealWorld App implementation based on "react-redux-typescript-guide"
Stars: ✭ 178 (-30.2%)
Mutual labels:  create-react-app, example
djcra
Django ❤️ create-react-app integration example
Stars: ✭ 12 (-95.29%)
Mutual labels:  create-react-app, example
Npm Registry Browser
Browse the npm registry with an SPA made in React, with full dev workflow.
Stars: ✭ 97 (-61.96%)
Mutual labels:  create-react-app, e2e-tests
play-scala-seed.g8
Play Scala Seed Template: run "sbt new playframework/play-scala-seed.g8"
Stars: ✭ 66 (-74.12%)
Mutual labels:  example, example-project
Play Scala Starter Example
Play Scala Starter Template (ideal for new users!)
Stars: ✭ 238 (-6.67%)
Mutual labels:  example, example-project
SplashScreenExample
How to implement a Splash Screen in ReactNative
Stars: ✭ 14 (-94.51%)
Mutual labels:  example, example-project
Cppandroidiosexample
An application example using the same C++ code on both an Android project and an iPhone project.
Stars: ✭ 191 (-25.1%)
Mutual labels:  example, example-project
Play Scala Websocket Example
Example Play Scala application showing WebSocket use with Akka actors
Stars: ✭ 194 (-23.92%)
Mutual labels:  example, example-project
play-scala-chatroom-example
Play chatroom with Scala API
Stars: ✭ 43 (-83.14%)
Mutual labels:  example, example-project
play-scala-secure-session-example
An example Play application showing encrypted session management
Stars: ✭ 54 (-78.82%)
Mutual labels:  example, example-project

Create React App TypeScript Todo Example 2020

Netlify Status CI Cypress.io check-code-coverage tested with jest code style: prettier All Contributors Depfu This project is using Percy.io for visual regression testing.

gif

What's this?

This is a Create React App based React + TypeScript todo app example. 👉 Deployed App
TypeScript coming from babel, set upped at Create React App install option. Adding TypeScript Doc 📝

Edit create-react-app-typescript-todo-example-2020

Stack

Installation

🔧 Prerequisites

  • The app assumed installed Node.js newer than 10.16.3 LTS(recommend newer than v14.8.0). If you have not it yet, follow the official Node.js Doc to install it.

And then

git clone [email protected]:laststance/create-react-app-typescript-todo-example-2020.git
cd create-react-app-typescript-todo-example-2020
yarn install # or npm install
yarn start # or npm run start

Finally Edit Code 😎

👩‍💻 Usage

yarn start

After that you'll seen the console which are server processes messages.
Let's follow the message and put in URL http://localhost:3000/ your browsers adressbar,
and then you'll got todo app as same as Demo. let's modify under the src/ code feel free!!

Official Docs: https://create-react-app.dev/docs/getting-started#npm-start-or-yarn-start

yarn build

After that You'll get bundled and optimization stuff in build directory.
Also you can run production build with serve local webserver modules.

yarn global add serve
serve -s build

Official Docs: https://create-react-app.dev/docs/getting-started#npm-run-build-or-yarn-build

yarn lint

ESLint is at the top. And setup TypeScript ESLint, integrating Prettier as a eslint-plugin-prettier.

yarn lint:fix

run wtih eslint --fix option.

yarn typecheck

While developing and building, Babel stop transpile with TS error messages. I can't find way static typecheck with babel, so I'm using original TypeScript via npm and specified tsc --noEmit compile option that doesn't generate compiled code.

yarn test

Jest is all-in-one test-runner built in Create React App and covers function-level unit testing to component-behavior-level integration testing. The Repo use to react-testing-library for component integration testing.

yarn cypress:open

Cypress is all-in-one E2E Testing tool which can deal testing on real browser.
This command using Electron by Cypress default.

yarn cypress:open require yarn start before.

yarn start # Launch DevServer
yarn cypress:open

cypress_open

yarn cypress:run

Run Cypress with Electron.
That's same as run all test on cypress GUI after run yarn cypress:open.

yarn start # Launch DevServer
yarn cypress:run

yarn cypress:run:leadless

Run Cypress with headless Electron.
That mean this command complete all on a terminal without GUI.

yarn start # Launch DevServer
yarn cypress:run:headless

🗒 Note

This is not a Best Practice introduction.
There are tons of effective way to create solid software in JavaScript World, you have a lot of other option based on your preference for approaching where, The Repo is just a style of my favorite.

"How to combining TypeScript with massive Babel or JavaScript tools ecosystem?"

I hope this helps you know like that from what I've Published!

How the project was bootstrapped?

1. Execute command for scaffold Create React App's TypeScript Templete.

npx create-react-app create-react-app-typescript-todo-example-2020 --template typescript

Issues

Please feel free to post New Issue or Pull Request 🤗

Questions

Please feel free to post New Issue or reply on Twitter 🐦

If you want to get more generally answers, these community are might be helpful 🍻

LICENSE

MIT

Contributors

Thanks goes to these wonderful people (emoji key):


ryota-murakami

💻 📖 ⚠️

Will Roscoe

💻

Peng Fei

🐛

Alex Panchuk

📖

Burhan Mullamitha

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].