Flask-Notes-App: A Simple Flask Application for Note-Taking
A guide to using Flask-Notes-App, a simple Flask application for note-taking.
Flask-Notes-App is a simple web application built using the Flask framework, which allows users to create, view, and delete notes. The application is built using Python 3.x and utilizes Flask, Flask SQLAlchemy, and SQLite.
Installation
To install Flask-Notes-App, simply clone the repository from GitHub using the following command:
git clone https://github.com/e96031413/Flask-Notes-App.git
Once the repository has been cloned, navigate to the project directory and start the application by running:
python app.py
Then, open a web browser and navigate to http://localhost:5000 to access the application.
Usage
Creating a Note
To create a note, simply click on the “Add Note” button on the home page. This will take you to a form where you can enter a title and content for your note. Once you have entered your note details, click on the “Add Note” button to save your note.
Viewing Notes
All existing notes are displayed on the home page, sorted in reverse chronological order, with the most recent note displayed first. Users can view their notes by simply scrolling down the page.
Deleting a Note
To delete a note, click on the “Delete” button next to the note you want to delete. This will bring up a confirmation prompt. Click on the “Delete” button in the prompt to confirm the deletion.
License
Flask-Notes-App is licensed under the MIT License. This means that the application is free to use, modify, and distribute, as long as the original license is included. For more information, please see the LICENSE file included in the project repository.
Conclusion
Flask-Notes-App is a simple, yet effective application for note-taking. It provides users with an easy-to-use interface for creating, viewing, and deleting notes. With its minimal dependencies and straightforward implementation, it is a great starting point for anyone looking to build a Flask-based web application.