Skip to content

AkshayAdiga1997/Todo-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Todo-Backend

Simple Todo backend application which uses flask and mysql. Allows to create/modify and delete todos.

Prerequisites

  • Python 3.6 (Installed through anaconda)
  • Anaconda 4.5.11
  • MySQL 5.7
    • Mac
      • brew install mysql@5.7

Setting up

  • Create a database and table with the following character set and collation.
    • Refer src/database/
  • Clone the repository.
  • Create the virtual environment using anaconda.
    • conda create -n todo python=3.6
  • Activate the anaconda virtual environment.
    • conda activate todo
  • Install all the required packages in your virtual environment.
    • pip install -r requirements.txt
  • Update the database values in etc/config/secrets.ini.
  • Run Flask server (inside src directory) with
    • python app.py
  • Access the APIs with.
    • localhost:5000/fetch_todo
    • localhost:5000/add_todo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages