Skip to content

Latest commit

ย 

History

History
46 lines (31 loc) ยท 1.06 KB

File metadata and controls

46 lines (31 loc) ยท 1.06 KB

๐Ÿงช Flask RESTful API - User Management

This is a simple RESTful API built using Flask, Flask-RESTful, and SQLAlchemy to manage user data such as names and emails. It supports full CRUD operations and uses SQLite as the database.


๐Ÿš€ Features

  • Create new users
  • Retrieve all users or a single user by ID
  • Update user information
  • Delete users
  • Proper error handling with abort
  • Clean response formatting using marshal_with

๐Ÿ“ฆ Technologies Used

  • ๐Ÿ Flask
  • ๐Ÿ—„๏ธ SQLite
  • ๐Ÿ“ฎ Flask-RESTful
  • ๐Ÿ“˜ SQLAlchemy

๐Ÿ› ๏ธ How to Run

  1. Make sure you have Python installed.

  2. Navigate to the project directory.

  3. Run the application by: python3 app.py

  4. ๐Ÿงช How to Test Use Postman, Insomnia, with the request body: { "name": "myname", "email": "myemail" }

๐Ÿ™‹โ€โ™‚๏ธ Author Sakyi Mustapha ๐Ÿ“ง Email: sakyimustapha5@gmail.com ๐Ÿ”— LinkedIn: https://www.linkedin.com/in/sakyi-mustapha-958438367?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BbaKaRLreReuH47zYoTmWYw%3D%3D