
Build a full stack stock prediction portal using Django REST framework, React, and machine learning with an LSTM architecture to predict stock price movements.
Explore how an application programming interface enables two-way communication between the front end and back end through HTTP requests and REST API, with weather data examples.
Create a simple api endpoint at api/v1/students that returns a json response, illustrating public url patterns, json formatting, and the browsable api for development.
Create a student serializer in serializers.py and a function-based view to get all students using the serializer with many=True, via a DRF API view and the browsable interface.
Explore class based views to handle requests with object oriented principles, mapping get, post, put, and delete to crud operations, boosting code reusability and introducing mixins, generics, and view sets.
Create a new employee with a post method inside a class-based view, validate data with the employee serializer, and return 201 created or 400 bad request.
Implement list and create mixins in the employee project using rest framework ListModelMixin and CreateModelMixin with a generic API view, wiring get and post to list and create.
Explore how generics provide prebuilt API views and mixins to perform CRUD in Django REST Framework, including list, create, retrieve, update, and destroy.
Configure primary key based operations for blog and comment models using Django REST Framework, enabling retrieve, update, and destroy via class-based views and pk lookup.
Create a custom pagination by extending page number pagination, override page size and page query params, and apply it to the employees view to expose next, previous, count, and results.
Implement a custom id range filter for employees using Django filters, enabling id min and id max with a custom filter method and label adjustments.
Create a React project with npx, learn that npx runs packages temporarily without installation, and compare it to npm while introducing wheat as a faster build tool.
Examine the React project directory structure, from root, node_modules, public, to src. Review essential files like eslint, gitignore, and package.json, plus the dev and build scripts.
Not just another course, this is a hands-on program where you’ll build a complete, stock prediction portal using Django REST Framework, React.js, and Machine Learning.
Course Flow:
First, you'll learn the fundamentals of Django REST Framework, including what REST APIs are and how to create them. If you're already familiar with Django REST Framework, you can skip this section.
Next, we'll dive into the fundamentals of React.js to build the front-end of our application.
After that, we'll connect Django REST Framework with React.js to build the portal. This will include implementing a user authentication system and other essential features needed for a functional application.
Once the portal structure is ready, it's time to dive into machine learning. This course is not a Machine Learning Bootcamp, so it won’t cover every ML concept in detail. Instead, it takes a practical approach focused on building a stock prediction portal as a real-world use case.
Machine Learning Section:
The basics of machine learning and its different types.
How to choose the right ML approach for a specific problem.
When and why to use deep learning and how neural networks work.
Why a neural network is the best choice for this stock prediction use case.
You'll build an LSTM model in Jupyter Notebook to analyze stock price data and make predictions. Once the model is ready, you’ll create an API to integrate it with the portal and display the results.
This course gives you the full experience of building a real-world stock prediction portal—a full-stack project combining Django REST Framework, React.js, and machine learning.
Additional Skills You'll Learn:
Data manipulation using Pandas and NumPy.
Data visualization using Matplotlib.
By the end of this course, you'll have built a complete project while gaining hands-on experience in both web development and machine learning.
Important Disclaimer: This prediction model should NOT be implemented in real stock market trading. It is developed purely for educational purposes to help you understand the principles of machine learning and stock market data. Relying on this model for actual investments can lead to significant financial risks.