Iamrishuydv/Mini_Blogging_API_using_Flask
README
cd Mini_Blogging_API_using_Flask
create env by this command - ' python3 -m venv venv ' then activate it ' source venv/bin/activate '
Install required packages by " pip install -r requirements.txt "
You can see the .env file setup the credentials accordingly
Before running the app Create the MySQL database
CREATE DATABASE mini_blog_db;
Finally, you can Run the Server
cmd : "python3 server.py"
POST -- /user/request-otp
POST -- /user/forgot-password
POST -- /post/create (Login Required)
POST -- /post/update (Login Required)
DELETE -- /post/delete (Login Required)
Comment
POST -- /comment/add
POST -- /comment/list
I've attached a xlsx file too for better API documentation.
You can find file path: Mini_Blogging_API_using_Flask/miniBlog_API_Endpoint_Documentation.xlsx
DSA question solved in the dsa_solutions folder with two py files.