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.
- 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
- ๐ Flask
- ๐๏ธ SQLite
- ๐ฎ Flask-RESTful
- ๐ SQLAlchemy
-
Make sure you have Python installed.
-
Navigate to the project directory.
-
Run the application by: python3 app.py
-
๐งช 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