upload.ai API

Linkedin Badge


✨ Technologies

  • NodeJS
  • Typescript
  • Prisma
  • Fastify
  • OpenAI API
  • Zod
  • Vercel AI SDK

🚀 How to use

# Clone this repository
git clone https://github.com/guilhermesandi/upload-ai-api

# Go to the root directory of the repository
cd upload-ai-api

# Install the dependencies
npm install

# Fill the .env using .env.example as an example
DATABASE_URL="file:./dev.db"
OPENAI_KEY="yourOpenAIKey"

# Feed the database
npm prisma db seed

# Start the application
npm run dev

# Show database
npm prisma studio

Use routes.http file to send requests (You need to install REST Client extension)