Coder Social home page Coder Social logo

my-dairy-ph3's Introduction

My Diary.

This Python project implements a simple personal diary application using a SQLite database. Users can create accounts, write diary entries, and view or delete their entries.

Features:

• User accounts with usernames and passwords (unique usernames enforced).

• Creation, viewing, searching by title, and deletion of diary entries.

• Timestamped diary entries (creation date).

• Personalized greetings based on the time of day.

Technology:

• Python 3

• SQLAlchemy (for database interaction)

• SQLite (for data storage)

How to Use:

Install Dependencies: You'll need to have sqlalchemy installed. You can install it using pip:

pip install sqlalchemy
pipenv install
pipenv shell

Run the Application: Open a terminal in the project directory and run:

python cli.py

User Interface:

The application provides a text-based interface for user interaction. You'll be presented with a menu of options:

• Create an account (allows you to sign up for a new account)

• Login (lets you log in with an existing username and password)

• Exit (terminates the program)

Once logged in, you can access additional functionalities:

• Create a diary entry

• View all diary entries

• Find a diary entry by title

• Delete a diary entry

• Logout

Security:

This is a basic implementation and currently stores passwords in plain text. This application will not allow the user to access the account without putting in the correct password.

Further Development:

• Implement data validation for user input.

• Add features like image or file attachment to diary entries.

• Implement functionalities for exporting or backing up diary entries.

my-dairy-ph3's People

Contributors

jan-muhachi avatar

Watchers

 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.