Web Application Development:
-
Using the Angelcam Developer Portal, I built a web application that met these requirements:
-
Login Functionality:
-
Implemented login using the provided Personal Access Token.
-
Developed a Login Page.
-
Camera Listing:
-
Listed shared cameras and displayed them on a Camera List Page.
-
Live Video Streaming:
-
Showed live video from the selected camera.
The project structure is organized as follows:
angelcam/
├── backend/
│ ├── config/
│ │ ├── __init__.py
│ │ ├── asgi.py
│ │ ├── settings.py
│ │ ├── urls.py
│ │ └── wsgi.py
│ ├── camera/
│ │ ├── __init__.py
│ │ ├── admin.py
│ │ ├── apps.py
│ │ ├── models.py
│ │ ├── serializers.py
│ │ ├── urls.py
│ │ └── views.py
│ ├── manage.py
│ ├── requirements.txt
│ └── venv/
└── frontend/
├── public/
│ └── index.html
├── src/
│ ├── components/
│ │ ├── CameraList.js
│ │ ├── CameraView.js
│ │ └── VideoPlayer.js
│ ├── App.js
│ ├── index.js
│ └── styles.css
├── .gitignore
├── package.json
└── README.md
The backend is built using Django and Django REST Framework. It provides an API for managing camera data.
To set up the backend, follow these steps:
- Clone the repository:
- Navigate to the backend directory:
- Run development server:
- python manage.py runserver
- The backend should now be running at http://localhost:8000/.
The frontend is built using React. It provides a user interface for managing camera data.
To set up the frontend, follow these steps:
- Clone the repository:
- Navigate to the frontend directory:
- Run development server:
- npm start
- The frontend should now be running at http://localhost:3000/.