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

https://github.com/cbschuld/cra-typescript-tailwind-cognito-example

An example of application authentication with React via AWS Cognito. A complete sample using Create React Application with Typescript, Tailwind CSS, React Router and AWS Cognito.
https://github.com/cbschuld/cra-typescript-tailwind-cognito-example

Last synced: 3 months ago
JSON representation

An example of application authentication with React via AWS Cognito. A complete sample using Create React Application with Typescript, Tailwind CSS, React Router and AWS Cognito.

Awesome Lists containing this project

README

        

# Create React App with Typescript, Tailwind and Cognito

This project is a sample template structure for Create React App in Typescript with Tailwind CSS, React Router and Cognito.

This project provides an elementary sample on how to provide a login experience for your application.

## Bootstrap

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

Tailwind was added in using guidance from [Dave Ceddia](https://daveceddia.com/tailwind-create-react-app/)

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.

See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.

It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.