Skip to content

MoazIrfan/AI-Next.js-Postgres-Node.js-Workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Next.js-Postgres-Node.js-Workflow

Perform CRUD Operations with AI Chat.


AI-powered CRUD Next.js app with Postgres Database, and Node.js Backend.


📟

How to Run

  1. Set up your OpenAI API key:

    • Add your OpenAI API key to the .env.local file in the frontend folder as
    NEXT_PUBLIC_OPENAI_API_KEY=your_api_key_here
    
  2. Run using Docker Compose:

    • Run docker compose up -d to start the application. This command will set up the frontend, database, and backend containers.

    or

  3. Run frontend and containers locally:

    • Navigate to the frontend folder and start the frontend locally.
     yarn dev
    
    • Run the database and backend containers.
     docker compose up db
     docker compose up backend
    

📟


📃

License

MIT © Moaz Irfan


🙌

Connect

GitHub @MoazIrfan   Twitter @MoazIrfan   Blog: moazirfan.com   LinkedIn @MoazIrfan  

About

Perform CRUD Operations with AI Chat.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published