This file has been truncated, but you can view the full file.
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
{ | |
"statusCode": "10000", | |
"status": 200, | |
"message": "Enrollment data read successfully", | |
"data": { | |
"totalRows": 2023, | |
"data": [ | |
{ | |
"SL NO": "1", | |
"Form Number": "13010110962", |
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: '3.1' | |
services: | |
db: | |
image: mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: voyarent | |
MYSQL_USER: voyarent | |
MYSQL_PASSWORD: voyarent |
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
import React from 'react'; | |
import { yupResolver } from '@hookform/resolvers/yup'; | |
import { | |
Box, | |
FormControl, | |
Grid, | |
InputLabel, | |
MenuItem, | |
Select, | |
Stack, |
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
const arr = [-8, 2, 3, -6, 10]; | |
const k = 2; | |
let l = 0; | |
let r = 0; | |
let answer = []; | |
let negIndex = []; | |
while (r < arr.length) { | |
if (arr[r] < 0) negIndex.push(r); |
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
'use client' | |
import { Input } from "@nextui-org/react"; | |
import { Button } from "@nextui-org/react"; | |
import { useForm, SubmitHandler } from "react-hook-form" | |
interface searchFriendGithubUserNameInput { | |
userName: string | |
} |
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
'use client' | |
import Link from 'next/link' | |
import { | |
Dialog, | |
DialogContent, | |
DialogDescription, | |
DialogHeader, | |
DialogTitle, | |
DialogTrigger, |
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
import React from 'react' | |
import recipeImage from '@/app/images/recipes/recipecard.png' | |
const Header = () => { | |
return ( | |
<div className='maxwt font-montserrat xl:w-[80%] lg:w-[80%]'> | |
<div className='flex my-24 justify-center gap-16'> | |
<div className='2xl:w-[480px] xl:w-[42%] lg:w-[42%]'> | |
<p className='2xl-text-4xl font-bold 2xl:mb-5 xl:mb-2 lg:text-3xl'>Hyderabadi Dum Chicken Biryani</p> | |
<p className='font-medium text-xl lg:text-base'>Enhancing the taste of Hyderabadi Chicken Biryani with the world's longest Basmati grain; Biryani Basmati.</p> |
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
import { Router } from "express"; | |
import JWT from "jsonwebtoken"; | |
import { JWT_SECRET } from "configs" | |
import { prisma } from "database"; | |
import { log } from "console"; | |
export const fetchCart = Router() | |
fetchCart.post('/fetchcarts', async (req, res) => { | |
const token = req.cookies.token |
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
import express from "express" | |
import { S3Client, GetObjectCommand, PutObjectCommand } from "@aws-sdk/client-s3" | |
import { getSignedUrl } from "@aws-sdk/s3-request-presigner" | |
const app = express() | |
const s3 = new S3Client({ | |
region: 'ap-south-1', | |
credentials: { | |
accessKeyId: 'AKIAU4PZPBNNKINIY2G2', | |
secretAccessKey: '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' |
NewerOlder