A webapp to display multiple CCTV sources in one easy to organise page, allowing them to be saved and viewed in a timelapse. Someone with access to public CCTV cameras in their town may want to use this to see what is going on, even when they are away from their computer.
This project was a learning experience using React and Node. There are much better alternatives (that work :D), such as Shinobi. https://gitlab.com/Shinobi-Systems/Shinobi
This project also has many security vulnerabilities from the npm packages used - procede with caution.
Install the Prerequisites:
NodeJS
MongoDB
Run npm install
to install required modules
Simply run the following command
npm run [all/server/client]
'all' runs both server client
In the case you don't want to use the provided Frontend, here are the API Calls you may need.
[GET] /cameras
{
"status":"success",
"message":"Camera retrieved successfully",
"data":[
{"images":[],
"_id":"5e8d271c7d4d6b06ff8ea183",
"name":"A skate park",
"ip":"...",
"refreshRate":60,
"location":"Somewhere",
"__v":11},
]
}
[GET] /camera/:id
'id' of Camera to get
[POST] /cameras
'name'
'location' (optional)
'refreshRate'
'ip'
[DELETE] /camera/:id
'id' of Camera to delete
[PUT/PATCH] /camera/:id
'name'
'location' (optional)
'refreshRate'
'ip'