Skip to content

An application built with Laravel and React.js for managing user information. Allows users to register with full name, email, and role, and provides a user list view. Built using Laravel 8, React 17, and Tailwind CSS.

Notifications You must be signed in to change notification settings

mdshoaib126/eastvantage-test

Repository files navigation

User Management Application

This project is a full-stack web application built with Laravel 8 and React.js. It allows users to register with their full name, email, and role, and provides a user list view.

Features

  • User registration with full name, email, and role.
  • Role options: Author, Editor, Subscriber, Administrator.
  • Display a list of registered users.

Technologies Used

  • Backend: Laravel 8
  • Frontend: React 17
  • Styling: Tailwind CSS

Prerequisites

  • PHP 7.4 or higher
  • Composer
  • Node.js and npm
  • MySQL
  • Docker (optional, for using Laravel Sail)

Setup Instructions

Backend Setup (Laravel)

  1. Clone the repository:

    git clone https://github.com/mdshoaib126/eastvantage-test.git
    cd eastvantage-test
  2. Install PHP dependencies:

    composer install
  3. Copy the example environment file and configure it:

    cp .env.example .env
    • Update the .env file with your database credentials.
  4. Generate an application key:

    php artisan key:generate
  5. Run the database migrations:

    php artisan migrate
  6. Start the Laravel development server:

    If using Laravel Sail (Docker):

    ./vendor/bin/sail up

    Without Docker:

    php artisan serve

Frontend Setup (React)

  1. Navigate to the react-frontend directory:

    cd react-frontend
  2. Install JavaScript dependencies:

    npm install
  3. Start the React development server:

    npm start

Usage

  • User Registration: Access the form at http://localhost:3000 to register a user.
  • User List: After registering, you will be redirected to the user list page at http://localhost:3000/users where you can view all registered users.

About

An application built with Laravel and React.js for managing user information. Allows users to register with full name, email, and role, and provides a user list view. Built using Laravel 8, React 17, and Tailwind CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published