- This project is a learning project created on the basis of learning
backend development
from the Udemy course REST APIs with FLASK and PYTHON - This will consists of normal Flask level backend dev
- Using Flask-JWT, Flask-RESTful for advanced backend operations
- Using Sqlite3 for Database Management
- Using SQLAlchemy for storage simplification
- Developing more secure REST APIs
- Make sure you have Flask installed in your system, which will act a server for API work
- Python is installed, better to make use of the latest python only, that is Version 3.x
- For advanced operations, we can install Flask-RESTful for using
Resource
,Api
,reqparser
- Flask-JWT is required for user authentication via JWT(JSON Web Token) token
- Make sure you are inside the project directory
- The python project runs on flask, using the command
python<version> app.py
app.py
file consist of the basic operation with the usage of Flaskflask-restful-app
consists of thecode/new-app.py
contains the file with advanced operation withflask-restful
andflsak-jwt
flask-with-sqldb
consists of same folders like,code/new-app.py
with operation usingsqlite3
, which is used as our database. So this is not at all working volatile data now. The data is being stored in thedata.db
file, which is the DataBase file in this case- Information for advanced operation is inside the Commands.md
flask-with-sqlalchemy
contains the folders having installedFlask
,Flask-JWT
,Flask-RESTful
andFalsk-SQLAlchemy
in the virtual envorinment. To installSQLAlchemy
, just dopip3/pip install Flask-SQLAlchemy
and it will be installed in your vritual environment- To copy folder's content to another folder, here is the terminal command For Mac
cp <from-foldername>/* <To-Foldername>
. For examplecp ../flask-with-sqldb/code/* code/