Skip to content

mash20-dot/Flask-API-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงช 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages