Welcome to the backend repository of my Snapchat-Face-Filter
project! This repository contains the backend code that complements the main Snapchat-Face-Filter
repository.
Before running the project, make sure you have the following installed:
Clone the repository:
git clone https://github.com/ayush4460/Snapchat-Filter-Backend.git
in the TerminalSnapchat-Filter-Backend...
cd Snapchat-Face-Filter-Backend
npm i cors express nodemon socket.io
Start the server:
npm start
http://localhost:3000
.Open the website:
http://localhost:3000
as the URL. You will be able to access the website and interact with it.1) Take picture: Send a request to take a picture with the specific device.
http://localhost:3000/api/take_picture/:deviceId
GET /api/take_picture/:deviceId
111
in my case, you can change it from the code and take any deviceId2) Change filter: Send a request to update the filter of the specific device.
http://localhost:3000/api/filter/:deviceId/:filterId
GET /api/filter/:deviceId/:filterId
'2','3' & '4'
111
in my case, you can change it from the code and take any deviceIdContributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
Steps for Contributing:- 1) Fork the repository on GitHub. 2) Clone your forked repository to your local machine. 3) Create a new branch for your feature or bug fix. 4) Make the necessary changes and commit them. 5) Push your changes to your forked repository. 6) Submit a pull request to the original repository.
This project is licensed under the MIT LICENSE.
Go through the Security Policy of this Project
The backend server is currently deployed and accessible at:
http://localhost:3000
You can access the website by opening this URL on your preferred web browser.
Feel free to modify the content to match your project structure and requirements.