1.1.3 • Published 3 years ago

cra-template-laravel-auth v1.1.3

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

cra-template-react-laravel-auth

This is the official base template for Create React App.

Template for LaravelReactSPA.

Typescript

Typescript Version

Usage

npx

npx create-react-app my-app --template laravel-auth

Change in .env.development

REACT_APP_API_URL="http://localhost:80/" // Backend Domain
REACT_APP_GITHUB_REDIRECT="http://localhost/github/auth/login"

You need to reload the server after a change in environment varibales file.

Work with Laravel brand new project

Check LaravelReactSPA for the backend guide and implementation.

Recommend installing sail before

Features

  • Login/Register Page
  • Guarded/Public Routes
  • Sign In with Github
  • Styling with tailwindcss, transition animation with @headlessui/react

Includes

Testing Locally

npx create-react-app . --template file:../path/to/your/template/cra-template-[template-name]
1.1.1

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago