Uploader App is a web application built with Laravel that allows users to upload, manage, and view documents. The application supports user roles and permissions, ensuring that only authorized users can perform certain actions.
- User authentication and authorization
- Role-based access control
- Document upload and management
- View and download documents
- Two-factor authentication
- Dark mode support
-
Clone the repository:
git clone https://github.com/yourusername/uploader-app.git cd uploader-app -
Install dependencies:
composer install npm install npm run dev
-
Copy the .env.example file to .env and configure your environment variables:
cp .env.example .env
-
Generate the application key:
php artisan key:generate
-
Run the database migrations and seeders:
php artisan migrate --seed
-
Start the development server:
php artisan serve
- Register a new user or log in with an existing account.
- Upload documents by navigating to the "Documents" section.
- Manage users and roles in the "Users" section (admin only).
- Enable two-factor authentication for added security.
To run the tests, use the following command:
php artisan test