Git Product home page Git Product logo

toylibrary-backend's Introduction

Toy Library API

The Toy Library API is a web application that allows users to manage a toy library system. It provides endpoints to perform CRUD (Create, Read, Update, Delete) operations on toys, users, and check-out history. Features

Add new toys to the library
View details of a toy
Update toy information
Delete a toy from the library
Register new users
View user details
Update user information
Check out a toy to a user
View current toys checked out by a user
Return a toy

Technologies Used

Python
Flask - Python web framework
SQLAlchemy - Object-relational mapping library for database access
SQLite - Lightweight relational database management system
Flask-RESTful - Extension for building RESTful APIs with Flask
Flask-Migrate - Extension for handling database migrations
Other dependencies can be found in the requirements.txt file

Installation

Clone the repository:

bash

git clone https://github.com/your-username/toy-library-api.git

Change to the project directory:

bash

cd toy-library-api

Create and activate a virtual environment:

bash

python3 -m venv venv source venv/bin/activate

Install the dependencies:

pip install -r requirements.txt

Initialize the database:

csharp

flask db init flask db migrate flask db upgrade

Start the application:

arduino

flask run

The API will be accessible at http://localhost:5000.

toylibrary-backend's People

Contributors

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