Git Product home page Git Product logo

adoptera-ett-husdjur-nti-webbserver-forked's Introduction

Adoptera ett husdjur

Description

The Adopt-a-Pet project is a web application built with Flask, a lightweight and flexible Python web framework. Flask provides the necessary tools and utilities to develop robust web applications, making it ideal for projects ranging from small-scale to medium-scale applications.

Features

Automatic updated lists on animals. Route Definitions: Define routes for different URLs using @app.route(). View Functions: Functions to generate HTML content for each route. Dynamic URL Building: Handle requests with dynamic URL segments. Data Retrieval: Interact with a pets module to fetch pet data. Error Handling: Return proper error messages and status codes. Server Startup: Start the Flask development server. Debug Mode: Enable debugging features. Host Configuration: Configure the server to listen on all network interfaces.

Technologies Used

Flask: A lightweight and versatile Python web framework. Python: The programming language used for backend development. HTML: Markup language for structuring web pages. CSS: Styling language for enhancing the visual presentation of web pages.

Installation

  1. Clone the repository: git clone https://github.com/your-username/project-name.git
  2. Install dependencies: pip install -r requirements.txt
  3. Set up the database: python manage.py db init, python manage.py db migrate, python manage.py db upgrade
  4. Start the server: python manage.py runserver

Usage

  1. Open the application in your web browser.
  2. To use the application you'll need to have Flask installed and run the code.
  3. Access the Application: Open a web browser and navigate to http://localhost:5000/.
  4. Browse Pets: On the homepage, you'll see links to browse different types of pets, such as dogs, cats, and rabbits. Click on any of these links to see a list of pets of that type.
  5. View Pet Details: When you click on a specific pet from the list, you'll be taken to a page displaying details about that pet, including its name, image, description, breed, and age.
  6. Explore Other Features: You can navigate back to the homepage or explore other types of pets using the links provided.

Contributing

This project was developed by Nina Losanthiah and Sandi Husic. Contributions and feedback are welcome from the community to improve and enhance the application further.

License

This project is licensed under the MIT License.

Contact

For any questions or inquiries, please contact us at [[email protected] or [email protected]].

adoptera-ett-husdjur-nti-webbserver-forked's People

Contributors

sandi-husic 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.