This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MongoDB connection | |
import { MongoClient } from 'mongodb'; // install package first | |
const { MONGODB_URI/* connection string*/, MONGODB_DB /*db name*/ } = process.env; | |
if (!MONGODB_URI) { | |
throw new Error( | |
'Please define the MONGODB_URI environment variable inside .env.local' | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", // SOME VERSION | |
"Id": "", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::BUCKET-NAME/FOLDER-NAME/*" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
state,active,deaths,recoveries,total | |
Andhra Pradesh,3,0,0,3 | |
Chandigarh,5,0,0,5 | |
Chhattisgarh,1,0,0,1 | |
Delhi,21,1,5,27 | |
Gujarat,14,0,0,14 | |
Haryana,17,0,0,17 | |
Himachal Pradesh,2,0,0,2 | |
Jammu and Kashmir,4,0,0,4 | |
Karnataka,17,1,2,20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select> | |
<option value="Select a country">Select a country</option> | |
<option value="Afghanistan">Afghanistan</option> | |
<option value="Åland Islands">Åland Islands</option> | |
<option value="Albania">Albania</option> | |
<option value="Algeria">Algeria</option> | |
<option value="American Samoa">American Samoa</option> | |
<option value="Andorra">Andorra</option> | |
<option value="Angola">Angola</option> | |
<option value="Anguilla">Anguilla</option> |