Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imdesai00/forgot-password-functionality
This repository demonstrates Forgot Password functionality. to perform this i use smtp email. you can perform this on asp dotnet(version-8) core web api with swagger or postman.
https://github.com/imdesai00/forgot-password-functionality
authentication csharp dotnet dotnetcorewebapi smtp-mail
Last synced: 9 days ago
JSON representation
This repository demonstrates Forgot Password functionality. to perform this i use smtp email. you can perform this on asp dotnet(version-8) core web api with swagger or postman.
- Host: GitHub
- URL: https://github.com/imdesai00/forgot-password-functionality
- Owner: imdesai00
- Created: 2024-03-28T18:26:06.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-03-30T06:34:27.000Z (8 months ago)
- Last Synced: 2024-08-17T12:46:33.097Z (3 months ago)
- Topics: authentication, csharp, dotnet, dotnetcorewebapi, smtp-mail
- Language: C#
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ASP.NET Core Web API Forgot Password Functionality
This repository contains a sample ASP.NET Core Web API project that demonstrates the implementation of a Forgot Password functionality. This functionality is crucial for web applications that require users to reset their passwords in case they forget them.
## Features- Forgot Password Endpoint: Exposes an endpoint to initiate the password reset process by sending a reset link to the user's registered email address.
- Reset Password Endpoint: Allows users to reset their passwords by verifying their identity through a secure token sent to their email.
- Token Generation: Utilizes secure token generation to ensure the reset password process is secure and resistant to attacks.
- Email Integration: Integrates with an SMTP server to send password reset emails to users.
- Secure Practices: Implements industry-standard security practices to protect user data and prevent unauthorized access.
## Technologies Used**ASP.NET Core:** The primary framework for building web applications and APIs.
**C#:** The programming language used for backend logic and API.
**SMTP:** Simple Mail Transfer Protocol for sending emails.
**JWT (JSON Web Tokens):** Used for secure token generation and authentication.
**Swagger UI:** A tool to document and test APIs.
**PostgreSQL:** A lightweight, file-based database used for local development and testing.
## Getting Started
To get started with this project, follow these steps:1. Clone the Repository: Use git clone to clone this repository to your local machine.
2. Configure the necessary settings such as SMTP server details, email templates, and database connection string.Build and run the application.
3. Navigate to the Project Directory: cd into the directory containing the cloned repository.
4. Build and Run the Project: Use dotnet build to build the project, followed by dotnet run to start the development server.
5. Explore the API: Once the project is running, navigate to https://localhost:5001/swagger/index.html to explore and interact with the API using Swagger UI.
6. Test the Forgot Password and Reset Password endpoints using tools like Postman or through your application's frontend.
## Run LocallyClone the project
```bash
git clone https://github.com/imdesai00/Forgot-password-functionality.git