Skip to content

code-experiment/code_experiment_react_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Experiment React Playground

This app is the frontend that goes with the fastapi backend located here. You will need that code running in order to use this app.

The goal of this app was to learn React with Typescript with a focus on testing. We started out doing it at the meetup and later it ended up being streamed on Daniel's twitch channel. The app is currently still being worked on.

Where to start

Clone this repo, install the dependencies, and run npm start. Don't forget you need to have the fastapi backend running.

Auth

I tried following an example by Kent C Dodds with using an authenticated app and unauthenticated app. You can read about it at his blog post here

This has been great but I'm still running into some testing issues because of context.

Testing

You can run the tests with yarn test or npm test.

GitHub Workflow Actions

This app is setup with a GitHub Workflow Action that will run all of these tests on merge requests. I also have the repo setup to not allow pushes to master.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published