You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REST framework helps in maintaining uniform interoperability between two applications or system regardless of the architecture they are built on.
The project demonstrate a Stock Market app using django REST Framework, which can retrieve data using GET request as well as update data at server side using POST request.
Running the server :
Use python manage.py runserver
For Adding a Stock to database navigate to /stocks/create/
Fill in stock details on browsable API for adding stocks
For getting a particular stock details navigate to /stocks/<stock_id>
Response will list the particular stock fields
For getting the list of stocks in database navigate to /stocks/
Response list will contain all the stocks in app database with related fields
For updating a particular stock in database navigate to /stocks/<stock_id>/edit/
Fill in stock details on browsable API for Updating stock
For Deleting a particular stock based on id in database navigate to /stocks/<stock_id>/delete/
Confirm delete on browsable api for deleting the stock
At any time, to get response in json plain text, suffix the url with '.json'