Giter Club home page Giter Club logo

fruitipedia-app's Introduction

Fruitipedia-App

Workshop: Fruitipedia App from Software University

Project Description: Fruitipedia App

The Fruitipedia App is a Django-based web application developed as part of the Python ORM course at Software University. The app serves as an interactive encyclopedia for fruits, allowing users to explore information about various fruits, create new fruit entries, and manage fruit categories. Below are key components and features of the Fruitipedia App:

Skeleton: The project provides HTML pages, images, and CSS files, offering a ready-to-use foundation for the development.

Configurations:

Templates and Static Files:

HTML templates are organized and placed in the appropriate templates folder. Static files (images and styles) are added and configured in the settings.py file. URLs (Paths):

URL patterns are established for each app to load templates. The main project urls.py file includes these patterns using the include() function. Database: Two models are defined for the database: Category Model and Fruit Model.

Fields: name, image_url, description, nutrition.

Views: Views are implemented in Django, representing Python functions or classes that handle HTTP requests, process data, and return HTTP responses. They follow the Model-Template-View (MTV) architectural pattern.

Fruits App URLs: URL patterns are defined in the urls.py file within the fruits app to direct requests to the appropriate views.

Template Inheritance: Common parts of templates (head, header, footer) are extracted into a base.html template for better code organization.

Navigation bar with links to "Create Category," "Create Fruit," and "Dashboard." Dashboard Page:

Displays all created fruits. If no fruits exist, shows a message. Create Category Page:

Form for creating a new category. Create Fruit Page:

Form for creating a new fruit. Fruit Details Page:

Displays detailed information about a specific fruit. Includes "Edit" and "Delete" buttons. Edit Fruit Page:

Form pre-filled with existing fruit information for editing. Delete Fruit Page:

Form for confirming the deletion of a fruit.

The Fruitipedia App provides a user-friendly interface to manage and explore information about fruits, supporting CRUD (Create, Read, Update, Delete) operations with a well-structured Django application architecture.

image

image

image

fruitipedia-app's People

Contributors

ivanvakov 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.