Member-only story

Fleet Monitoring System: Backend to Frontend in One Weekend

Lado Ok
5 min readNov 22, 2024

--

Contents

  1. Project Setup
  2. Backend Development
  3. Frontend Development
  4. Deployment
  5. Machine Learning: Next Steps
Output — Final Result so far

1. Project Setup: The foundation

Important is that I set up the framework for the project before building the back-front. Good projects need good bones.

Creating ProJ Directory, I ran

mkdir fleet_monitoring
cd fleet_monitoring

Create a Virtual Environment

Every Django project needs its own bubble, so it doesn’t share cookies (a.k.a. dependencies) with others.

python3 -m venv venv
source venv/bin/activate # For Linux/Mac
venv\Scripts\activate # For Windows

Install Required Libraries: Django for the backend, REST framework for APIs, PostgreSQL for the database, and Matplotlib for charting (you’ll thank us later).

pip install django djangorestframework psycopg2-binary matplotlib

--

--

Responses (1)