cra-template-ts-laravel-auth

1.1.1 • Public • Published

cra-template-ts-laravel-auth

This is the official base template for Create React App.

Template for LaravelReactSPA.

Javascript

Javascript Version

Usage

npx

npx create-react-app my-app --template ts-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]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    1

Package Sidebar

Install

npm i cra-template-ts-laravel-auth

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

104 kB

Total Files

66

Last publish

Collaborators

  • santos-pierre