Dataset Viewer
instruction
stringlengths 25
121
| input
stringclasses 1
value | output
stringlengths 0
296k
|
---|---|---|
Describe the contents of the file components.json. | {
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "app/globals.css",
"baseColor": "slate",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
} |
|
Describe the contents of the file next.config.mjs. | /** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'coin-images.coingecko.com',
port: '',
pathname: '/**',
},
{
protocol:'https',
hostname:"lh3.googleusercontent.com",
port: '',
pathname: '/**',
}
],
},
};
export default nextConfig;
|
|
Describe the contents of the file next-env.d.ts. | /// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
|
Describe the contents of the file tailwind.config.ts. | import type { Config } from "tailwindcss"
const config = {
darkMode: ["class"],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
],
prefix: "",
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config
export default config |
|
Describe the contents of the file .eslintrc.json. | {
"extends": "next/core-web-vitals"
}
|
|
Describe the contents of the file package.json. | {
"name": "binance-frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "npx prisma generate && next build",
"start": "next start ",
"lint": "next lint"
},
"dependencies": {
"@hookform/resolvers": "^3.9.0",
"@next-auth/mongodb-adapter": "^1.1.3",
"@next-auth/prisma-adapter": "^1.0.7",
"@prisma/client": "^5.19.1",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@reduxjs/toolkit": "^2.2.7",
"@stripe/react-stripe-js": "^2.8.0",
"@tanstack/react-query": "^5.51.11",
"@types/bcrypt": "^5.0.2",
"@types/bcryptjs": "^2.4.6",
"autoprefixer": "^10.4.19",
"axios": "^1.7.2",
"bcrypt": "^5.1.1",
"bcryptjs": "^2.4.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"framer-motion": "^11.3.31",
"lightweight-charts": "^4.2.0",
"lucide-react": "^0.407.0",
"mongodb": "^5.9.2",
"next": "14.2.4",
"next-auth": "^4.24.7",
"next-themes": "^0.3.0",
"nextjs-toploader": "^1.6.12",
"razorpay": "^2.9.4",
"react": "^18",
"react-dom": "^18",
"react-draggable": "^4.4.6",
"react-hook-form": "^7.53.0",
"react-icons": "^5.3.0",
"react-query": "^3.39.3",
"react-razorpay": "^3.0.1",
"react-redux": "^9.1.2",
"react-use-websocket": "^4.8.1",
"recharts": "^2.12.7",
"sharp": "^0.33.5",
"short-uuid": "^5.2.0",
"stripe": "^16.12.0",
"tailwind-merge": "^2.4.0",
"tailwindcss-animate": "^1.0.7",
"yup": "^1.4.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.4",
"postcss": "^8.4.39",
"prisma": "^5.20.0",
"tailwindcss": "^3.4.4",
"typescript": "^5"
}
}
|
|
Describe the contents of the file Dockerfile. | FROM node:16-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
WORKDIR /app/db
RUN npx prisma generate
WORKDIR /app
RUN npm run build
EXPOSE 3000
CMD [ "npm" , "start" ] |
|
Describe the contents of the file tsconfig.json. | {
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
|
|
Describe the contents of the file .env. | DATABASE_URL=postgres://avnadmin:AVNS_Z4AxBvGySZYS7c-SVVh@pg-2f95c8c3-saimanideepnaidu-669c.l.aivencloud.com:13599/defaultdb?sslmode=require
#Razorpay
RAZORPAY_KEY_ID =rzp_live_ysF8drCMbc7We6
RAZORPAY_KEY_SECRET=kvVknh4VWlU7PBPI9iVQB3Ar
#Google
GOOGLE_CLIENT_SECRET=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
GOOGLE_CLIENT_ID=379822767499-rq3ru81t168j3p9malijnqt0n96c69ea.apps.googleusercontent.com
#Next_auth
NEXTAUTH_SECRET=mysupersecret
NEXTAUTH_URL=http://localhost:3000
#Github
GITHUB_ID=Iv23lixYej7JCFdyTF2c
GITHUB_SECRET=7bd1a559e5451da40620c795efce2aa0a2933731 |
|
Describe the contents of the file postcss.config.mjs. | /** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
},
};
export default config;
|
|
Describe the contents of the file docker-compose.yml. | version: '3.8'
services:
app:
image: node:14
volumes:
- .:/app
working_dir: /app
command: npm run dev
ports:
- 3000:3000
depends_on:
- db
db:
image: postgres:13
volumes:
- ./db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- 5432:5432
|
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 11