This project is aim at letting users simply save message by sending text messages, and call the saved message whenever needed.
In this project, there are few steps with three files, 'app.py', 'message.py', and 'message_test.py'.
The initial file is 'app.py'. This is showing the overall structure of the project.
- Make sure that Flask is imported to the main file from flask import Flask, request app=Flask(name)
- Mapping URL to the code
- The functions to build up the message structure
In message.py, it saves the class, which contains 'save_message' and 'read_message'.
- 'save_message' is to get the received message from the user and save it to the database
- 'read_message' is to simply call the saved message from the database based on the corresponded user.
Unit test for 'message.py'.