A REST API for store, implemented using Flask-RESTful, Flask-JWT, Flask-SQLAlchemy.
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
- One PATH, multiple VERBS operating on same resource. Similar to object oriented programming.
- Sigular vs Plural.
- When method is already GET, don't name any endpoint like, /getstudent
In second part of the course, we'll be incorporating a lot more.
Marshmallow is accountable for replacement of reqparse. It also helped in
making our codebase more managable by eleminating need of __init__
and
json
methods in Models.
Mailgun was used to send confirmation emails. It will be used in other email related tasks.