Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bachiriy/oauth2-p2
https://github.com/bachiriy/oauth2-p2
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bachiriy/oauth2-p2
- Owner: bachiriy
- Created: 2024-09-06T08:52:49.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-04-08T23:12:54.000Z (9 months ago)
- Last Synced: 2024-10-21T13:46:51.055Z (3 months ago)
- Size: 153 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README: Final Project - Setting up an OAuth2 Authentication System (Part 2)
This README provides detailed documentation for the final project "Setting up an OAuth2 Authentication System (Part 2)". This project aims to create a graphical interface to consume an OAuth2 authentication API.
## Project Context
The project was assigned as part of the [2023] Web and Mobile Web Developer training program. Following the development of the OAuth2 authentication API, it is now time to create a user interface to interact with this API.
## Features
The interface will include the following features:
### Authentication Interface:
- **Login**: Allows users to log in.
- **Register**: Allows new users to register.
- **Forgot Password**: Allows users to reset their password if forgotten.
- **Reset Password**: Allows users to reset their password.### User Interface:
- **Index (Admin)**: Allows the administrator to view the list of users and ban/reintegrate them if necessary.
### Roles Interface (Admin):
- **Index**: Displays the list of roles.
- **Manage**: Allows the administrator to manage roles.
- **Assign User**: Allows the administrator to assign users to roles.### Permissions Interface (Admin):
- **Index**: Displays the list of permissions.
- **Manage**: Allows the administrator to manage permissions.
- **Assign Role**: Allows the administrator to assign permissions to roles.## Usage of the Project
1. **Clone the Repository**:
```
git clone https://github.com/Youcode-Classe-E-2023-2024/Med_el_Bachiri-oauth2-p2
```2. **Clone the API project**:
```
git clone https://github.com/Youcode-Classe-E-2023-2024/Med_el_Bachiri-oauth2
```3. **Serve the API project on port 8000**:
```
php artisan serve --port=8000
```4. **Serve this project on port 8080 (or any port you prefer)**:
```
php artisan serve --port=8080
```5. **Access the Application**:
- Open your web browser and go to the URL `http://localhost:8080` (the default port is usually 3000).## Technologies Used
For frontend development, JavaScript native (using the Fetch API for consuming the API) is utilized. Laravel is used solely for routing purposes.
---
*This README provides detailed documentation for the final project "Setting up an OAuth2 Authentication System (Part 2)". For more implementation details, please refer to the documents and source code in the repository.*