Giter Club home page Giter Club logo

laravel-react-auth's Introduction

๐Ÿ“— Table of Contents

๐Ÿ“– Laravel React Auth with Sanctum

Laravel-React-Auth is a project created using laravel as backend and react as frontend where a general authentication system is implemented using API. A user can authenticate him/her self through the frontend React and login to the authorized access area with the help of Access Token.

๐Ÿ›  Built With

Tech Stack

Client
Server
Database
Authentication package

Key Features

  • React based frontend
  • Laravel based backend
  • Laravel Sanctum for API based authentication

(back to top)

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Example command:

 npm install

Setup

Clone this repository to your desired folder:

Example commands:

  cd my-folder
  git clone https://github.com/sumon766/laravel-react-auth.git

Install

Install this project with:

Example command:

  cd my-project/react-auth
  npm install

Usage

To run the project, put the project in your desired server (Xampp/Wamp) and create a MySQL database. After that edit the .env file from the root of the project directory. After setting the server and editing database details in .env, run the following command:

Example command:

  php artisan migrate

Run the project

To run the project, open command prompt/terminal from the root of your project and run:

Example:

php artisan server

And, go to react-auth directory and open another terminal and run:

npm run dev

Now, go to any browser and open the link:

localhost:3000

(back to top)

๐Ÿ‘ฅ Authors

๐Ÿ‘ค MD Mursedul Islam

(back to top)

๐Ÿ”ญ Future Features

  • Design the frontend stunningly
  • List of users
  • Add post and edit them as needed

(back to top)

laravel-react-auth's People

Contributors

sumon766 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.