Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 951 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 951 Bytes

StreamlitAuth

This Streamlit project implements a simple Login and Signup application with a PostgreSQL database backend. Users can create new accounts (signup) and login using their credentials.

Features

Signup: Users can create new accounts by providing a unique username and password.

Login: Existing users can log in using their username and password.

Dependencies

Streamlit: UI development library for creating web applications with Python.

Psycopg2: PostgreSQL adapter for Python, used for database interactions.

dotenv: Loads environment variables from a .env file.

PostgreSQL Database: Requires a PostgreSQL database to store user data.

Project Setup

  1. Clone the repository:

    git clone <REPOSITORY URL>
    cd StreamlitAuth
  2. Install the required libraries by running the following command:

    pip install -r requirements.txt
  3. Run streamlit

    streamlit run main.py