Giter VIP home page Giter VIP logo

profilemeti's Introduction

Profile

Profile is a template for user authentication featuring login and registration functionalities. It securely stores user information in a database, hashes passwords for security, and sends verification codes to users' email addresses. Once the email address is confirmed, the user's information is stored in the database to prevent overcrowding.

Table of Contents

About

Profile provides a robust authentication system for web applications built using PHP. It ensures the security of user data by hashing passwords before storing them in the database. Additionally, it verifies user email addresses through the use of verification codes sent via email.

Features

  • User registration with email verification
  • Secure password hashing
  • Reset password
  • Database storage of user information
  • Login functionality with session management
  • Select image for profile picture
  • Editable user profile

Installation

To install Profile, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/MehdiSlr/profile.git
  2. Set up your environment by configuring the database connection details in the provided configuration file (conf/serv_conf.php).

  3. Ensure that your PHP environment meets the requirements specified in the project's documentation.

  4. Start your local server and navigate to the project directory. Use any web server that supports PHP like Apache(You can use XAMPP or WAMP).

  5. Run the below command in your terminal.

    php .\install.php
    
  6. Configure your SMTP credentials in config.example.php at conf/mail/config.example.php and rename it to config.php.

Usage

To use Profile in your web application, follow these guidelines:

  1. Integrate the provided authentication endpoints into your application's routing system.

  2. Customize the frontend views to match your application's design and user experience requirements.

  3. Ensure that your application's environment variables are correctly configured for database connection and email service.

  4. Test the registration, login, and email verification functionalities thoroughly before deploying to production.

  5. Provide test user data to the pros.sql file for testing purposes. (Email: [email protected] and password: 123)

Contributing

Contributions to Profile are welcome! If you encounter any bugs, have feature requests, or would like to contribute code improvements, please follow these steps:

  1. Fork the repository and create a new branch for your contribution.

  2. Make your changes, ensuring that your code follows the project's coding standards and practices.

  3. Write tests to cover any new functionality or bug fixes.

  4. Submit a pull request, providing a clear description of your changes and the problem they solve.

profilemeti's People

Contributors

mehdislr avatar noorani-mm avatar negarebr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.