Backend SDE Intern Assignment
Backend SDE Intern Assignment
SaaS Boilerplate
Objective:
Tasks:
);
3. API Endpoints:
○ POST /api/v1/addvpnservers:
Request Body:
json
{
"ipAddress": "string",
"latitude": "number",
"longitude": "number",
"key": "string",
"country": "string"
○ GET /api/v1/getvpnservers:
■ Query Parameters:
■ country: string
■ userIp: string
■ Function: Returns the VPN server closest to the user's IP address within
the specified country.
Response:
json
"ipAddress": "string",
"latitude": "number",
"longitude": "number",
"key": "string",
"country": "string"
Submission: