Giter Club home page Giter Club logo

pythonflaskassignmentsrs's Introduction

PythonFlaskAssignmentSRS

Objective

The objective of this assignment is to create a feature-rich web application using Python and Flask. The application will allow users to manage and share their favorite recipes. It will include user authentication, database interactions, and dynamic content.

Requirements

1. User Authentication and Authorization

  • Implement user registration and login functionality.
  • Use Flask-Login for session management.
  • Users should be able to create, edit, and delete their own recipes.

2. Database Schema

  • Choose any relational database (e.g., SQLite, PostgreSQL, MySQL).
  • Design a schema to store recipe information:
    • Recipe table with fields:
      • id (integer, primary key)
      • title (string, not null)
      • description (text)
      • ingredients (text or JSON array)
      • instructions (text)
      • created_by (foreign key referencing user)

3. Recipe Management

  • Create CRUD (Create, Read, Update, Delete) endpoints for recipes.
  • Allow users to add ingredients (possibly with quantities) to their recipes.
  • Implement search functionality to find recipes by title or ingredients.
  • Implement pagination for listing recipes.

4. Testing

  • Write unit tests for critical components (e.g., authentication, database interactions).
  • Use testing libraries such as pytest or unittest.

Submission

Submit your assignment as a GitHub repository with clear instructions in the README. Include a README.md file with an overview of the project with all endpoints, setup instructions, and any additional notes. Optionally, deploy the application to a cloud platform (e.g., Heroku) and provide the live demo link.

Evaluation

Your assignment will be evaluated based on the following criteria:

  • Functionality: Does the application meet the specified requirements?
  • Code Quality: Is the code well-organized, modular, and maintainable?
  • Design Decisions: How thoughtful are your design choices?
  • Testing: Are there sufficient tests, and do they cover critical scenarios?

pythonflaskassignmentsrs's People

Contributors

shreyas-ashtamkar 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.