Skip to content

Kalaiviswa/my-loginapp-flasksqdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Web Application

Project Overview

A simple Flask web application built with SQLAlchemy to manage a user database. It provides RESTful API endpoints for user registration, login, and profile management. This project serves as a foundation for more advanced web application development.


Features

  • User registration and authentication.
  • Integration with SQLite database using SQLAlchemy.
  • RESTful API for managing user data.
  • Modular project structure for scalability.

Installation

Prerequisites

  • Python 3.8 or higher.
  • Git installed on your system.

Steps

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repo-name.git
    cd your-repo-name
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install dependencies:

    pip install -r requirements.txt
  4. Set environment variables: Create a .env file in the project root and add your Flask app configurations:

    FLASK_APP=app.py
    FLASK_ENV=development
    SECRET_KEY=your_secret_key
  5. Run the application:

    flask run

    Access the application at http://127.0.0.1:5000.


Usage

  • Registration Endpoint:
    POST /register
  • Login Endpoint:
    POST /login

Project Structure

project-root/

|-- templates/
|-- requirements.txt
|-- app.py
|-- README.md
|-- LICENSE

License

This project is licensed under the MIT License. See the LICENSE file for details.


Contributing

Contributions are welcome! Please fork the repository and submit a pull request.


Acknowledgments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors