Skip to content

Starter repository for developers who uses React, Typescript, TailwindCSS, React Router, Axios, React Hook Form and yup.

License

Notifications You must be signed in to change notification settings

canumay/react-ts-starter

Repository files navigation

react-ts-starter

This repository created for developers who uses React, Typescript, TailwindCSS, React Router, Axios, React Hook Form and yup.

Demo

Check this link to see demo.

Installation

This repository requires Node.js and Yarn to run.

yarn install

Development

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Testing

yarn test

Launches the test runner in the interactive watch mode.

Deployment

yarn build

Builds the app for production to the build folder.

Mock API

I used Reqres as mock api to simulate login & register process.

Screenshots

Login Page

login

Login Page (input validation with React Hook Form and yup)

login-input-validation

Register Page

register

Register Page (input validation with React Hook Form and yup)

register-input-validation

Protected Page

protected

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT