An open API service indexing awesome lists of open source software.

https://github.com/hideya/test-flask-simple-app


https://github.com/hideya/test-flask-simple-app

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Flask Memo Application

A web app that allows users to create and manage personal memos. Built with Flask and SQLAlchemy.

Generated by Replit Agent almost automatically!

## Features

- User Authentication (Register/Login)
- Personal Memo Management
- Automatic Save
- Secure Password Handling
- Database Integration

## Technologies

- Flask
- SQLAlchemy
- Flask-Login
- WTForms
- PostgreSQL

## Setup

1. Clone the repository
```bash
git clone
cd
```

2. Create a virtual environment
```bash
uv venv
```

3. Activate the virtual environment
```bash
source .venv/bin/activate
```

4. Install dependencies:
```bash
uv pip install -r requirements.txt
```

5. Configure environment variables

Copy `.env.template` to `.env` and update the values.

The server will use the values in `.env` to configure the database and other settings.
At first run, the server will create necessary database tables automatically.
The `.env` file is ignored by git for security purposes.

6. Run development server:
```bash
python app/main.py
```
Server runs on port 5001 by default.

## Usage

1. Register/Login to access your personal memo space
2. Write or edit your memo content
3. Changes are automatically saved
4. Logout to secure your session

## Security Features

- Password hashing
- Session management
- CSRF protection
- Secure database operations

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.