GithubHelp home page GithubHelp logo

itjewel / auth-laravel-react-microservice Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11.12 MB

auth-laravel-react-microservice

Shell 0.39% PHP 14.95% JavaScript 11.21% Blade 2.58% HTML 65.89% CSS 0.13% SCSS 4.84%

auth-laravel-react-microservice's Introduction

  • JWT Authentication Flow for User Signup & User Login
  • Project Structure for React JWT Authentication (without Redux) with SessionStorage, React Router & Axios
  • Creating React Components
  • Dynamic Navigation Bar in React App

We will build a React application in that there is Login/Logout, Register, Home, and Dashboard pages and React js Login Authentication Routes

React js Laravel Auth:

- Laravel 9
- Mysql
- React js 17.0.2
- bootstrap 5
- react-router-domv6
- axios
- Formik
- Yup
- dotenv
- react-data-table-component
- styled-components
- react-modal
- react-toastify

Backend

  1. First clone project in your pc: Run git clone https://github.com/itjewel/react-laravel-authentication-projectmanagment.git

  2. PHP Version needed above 8.0

  3. cd into the "Laravel" folder: Run cd Laravel

  4. Copy .env.example file and rename as .env; Alternatively, run cp .env.example .env

  5. Edit database credentials in your newly generated/created .env file

  6. Run composer install to install all libraries and dependencies in the composer.lock file

  7. Run php artisan key:generate to set the APP_KEY value in the .env file

  8. Run php artisan jwt:secret

  9. Run composer require tomfordrumm/jwt-auth:dev-develop

  10. Having created a database, and specifying the same with the right credentials in your .env file, run php artisan migrate to create the tables

  11. Run php artisan serve to run the PHP development server. Alternatively, you can run your project with XAMPP or WAMP.

Frontend

  1. cd into the "reactjs" folder: Run cd reactjs

  2. Run npm install to download all packages and dependencies needed for our client

  3. While making sure that the API (Laravel) Server is up and running, run npn start to start your react application

  4. Congratulations!!!

Featues

  1. Login Form alt text

  2. Registration Form alt text

  3. Home Page alt text

  4. Project Added Form alt text

  5. Project View and datatable use in dashboard page alt text

  6. Project details, project assign, task list show page alt text

  7. Task added page alt text

  8. Project Searching without datatable alt text

auth-laravel-react-microservice's People

Contributors

itjewel avatar

Stargazers

 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.