contains the solution for the take-home assignment
Clone the project
git clone https://github.com/henrhie/backend-solution.git
Go to the project directory
cd backend-solution
Install dependencies
npm install
Configure Prisma - create a .env file with DATABASE_URL
pointing to PostgreSQL instance.
Also add OPEN_WEATHER_KEY
API key to your .env file.
Run the following after configuring.
npx prisma migrate dev --name init
Start the server
npm run start:dev
Run tests
npm run test