Skip to content

plugilode/DishbrainDatabase

Repository files navigation

This project was generated from create.xyz.

It is a Next.js project built on React and TailwindCSS.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the code in src. The page auto-updates as you edit the file.

Working with Expert Data

To search for all JSON files in the data/experts directory, you can use any of these methods:

  1. Using the command line:
# From project root
ls src/data/experts/*.json
# or
find src/data/experts -name "*.json"
  1. Using Node.js:
const fs = require('fs');
const path = require('path');

const expertsDir = path.join(__dirname, 'src/data/experts');
const expertFiles = fs.readdirSync(expertsDir)
                     .filter(file => file.endsWith('.json'));
  1. Using glob pattern:
const glob = require('glob');

// Get all JSON files in experts directory
const expertFiles = glob.sync('src/data/experts/*.json');

To learn more, take a look at the following resources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published