that-ambuj / xivtech-assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xivtech-assignment

Prequisites

  • Vercel account
  • Vercel CLI
  • Node js

Instructions

  • Install dependencies by using yarn install in the root directory and node-backend directory
  • Run yarn build in root directory to build the frontend
  • Run vercel dev in the backend directory to run the project as a full stack application

Endpoints

POST /api/getWeather

Request

{ "cities": ["mumbai", "london"] }

Response

{ "weather": { "mumbai": 32.05, "london": 28.32 } }

About


Languages

Language:TypeScript 79.8%Language:JavaScript 7.6%Language:HTML 7.2%Language:CSS 5.4%