The Bookmarker API is a simple RESTful API designed to manage bookmarks. The API allows users to create, read, update, and delete bookmarks, making it a useful tool for personal bookmark management or integration into larger projects that require bookmark functionality.
- Create: Add new bookmarks with a title, URL, and optional description.
- Read: Retrieve all bookmarks or a specific bookmark by ID.
- Update: Modify existing bookmarks.
- Delete: Remove bookmarks that are no longer needed.
Before you begin, ensure you have the following installed on your local machine:
-
Clone the repository:
git clone https://github.com/swewalka-tgm/bookmarker-api.git cd bookmarker-api -
Install the required dependencies:
pip install -r requirements.txt- Set up environment variables: Create a .flaskenv file in the root directory (if not already present) and add the following configuration:
FLASK_APP=src
FLASK_ENV=development- Run the application:
flask runDeployment
To deploy this API on a platform like Heroku, you can use the provided Procfile. Make sure to configure any necessary environment variables on your deployment platform.