Skip to content

Commit e38e8d2

Browse files
committed
Update README.md and add MIT LICENSE
1 parent 012e151 commit e38e8d2

File tree

2 files changed

+55
-50
lines changed

2 files changed

+55
-50
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Fahmi Ibrahim
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 34 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,50 @@
1-
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>
1+
# Laravel API Backend for User and Role Configuration
22

3-
<p align="center">
4-
<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
5-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
6-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
7-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
8-
</p>
3+
This repository contains a Laravel API backend that focuses on user and role configuration. It provides essential features such as login, forgot password, update password, profile management, and logout. The authentication mechanism employed in this system utilizes JWT Bearer Token for secure communication.
94

10-
## About Laravel
5+
### Features
116

12-
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
7+
- User Management: The API enables user registration, authentication, and authorization.
8+
- Role Configuration: Users can be assigned different roles with specific permissions.
9+
- Login: Users can securely log in using their credentials and obtain a JWT Bearer Token.
10+
- Forgot Password: Users can request a password reset email if they forget their password.
11+
- Update Password: Users can update their password securely.
12+
- Profile Management: Users can manage their profile information.
13+
- Logout: Users can log out of the system, invalidating their JWT Bearer Token.
1314

14-
- [Simple, fast routing engine](https://laravel.com/docs/routing).
15-
- [Powerful dependency injection container](https://laravel.com/docs/container).
16-
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
17-
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
18-
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
19-
- [Robust background job processing](https://laravel.com/docs/queues).
20-
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
15+
### Prerequisites
2116

22-
Laravel is accessible, powerful, and provides tools required for large, robust applications.
17+
- PHP >= 8.1 or new
18+
- Composer
19+
- Node JS last version
20+
- NPM last version
21+
- MySQL or MariaDB last version
2322

24-
## Learning Laravel
23+
### Technology Stack
2524

26-
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
25+
The project is built using the following technologies:
2726

28-
You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.
27+
- Laravel 10 (latest version): A powerful PHP framework for building web applications.
28+
- JWT Bearer Token: JSON Web Token-based authentication for secure API communication.
2929

30-
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
30+
### Getting Started
3131

32-
## Laravel Sponsors
32+
To set up the project locally, please follow these steps:
3333

34-
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
34+
1. Clone this repository: `https://github.com/fhmiibrhimdev/backend-laravel`
35+
2. Install the required dependencies: `composer install`, then `cp .env.example .env`
36+
3. Configure your database settings in the `.env` file.
37+
4. Generate the application key: `php artisan key:generate`
38+
5. Run database migrations: `php artisan migrate:fresh --seed`
39+
6. Run JWT Secret and Storage Link: `php artisan jwt:secret && php artisan storage:link`
40+
7. Start the development server for the Laravel project: `php artisan serve`
3541

36-
### Premium Partners
42+
Make sure you have Laravel 10 and its dependencies installed on your machine before proceeding with the setup.
3743

38-
- **[Vehikl](https://vehikl.com/)**
39-
- **[Tighten Co.](https://tighten.co)**
40-
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
41-
- **[64 Robots](https://64robots.com)**
42-
- **[Cubet Techno Labs](https://cubettech.com)**
43-
- **[Cyber-Duck](https://cyber-duck.co.uk)**
44-
- **[Many](https://www.many.co.uk)**
45-
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
46-
- **[DevSquad](https://devsquad.com)**
47-
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
48-
- **[OP.GG](https://op.gg)**
49-
- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
50-
- **[Lendio](https://lendio.com)**
44+
### Contributions
5145

52-
## Contributing
46+
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue.
5347

54-
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
48+
### License
5549

56-
## Code of Conduct
57-
58-
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
59-
60-
## Security Vulnerabilities
61-
62-
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
63-
64-
## License
65-
66-
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
50+
This project is licensed under the MIT License. See the [LICENSE](https://github.com/fhmiibrhimdev/backend-laravel/blob/main/LICENSE) file for more details.

0 commit comments

Comments
 (0)