Skip to content

salimdellali/construction-services-reviews-sentiment-analyzer

Repository files navigation

Construction Services Reviews Sentiment Analyzer AI Chatbot

Write down or copy/paste a review related to a construction service, the AI assistant shall analyze the sentiment of the review.

This is a Next.js project bootstrapped with create-next-app.

Development steps

  1. Init Next.js app
  2. Install ShadCN UI and try the library
  3. Setup construction services reviews analyzer AI Chatbot using /api/chat endpoint with useChat() hook
  4. Convert from api endpoint usage into server actions calls
  5. Improve the Chat UI

Run the app locally

  • run npm install to install dependencies
  • Copy content from .env.example into a new file .env
  • Paste your ÒPENAI API inside the .env file
  • Run npm run build to build the project
  • Lunch the app by running npm start
  • The app should be served on http://localhost:3000

Development

  • run npm run dev to launch the development live-refresh server

Tech stack

  • Next.js
  • Tailwind CSS
  • ShadCN UI
  • Vercel AI SDK

Last words

First Next.js project!

It was a fun experience trying out Next.js, I really liked the framework and the architecture. Tribute to the well written Next.js documentation

About

Next.js app: Construction Services Reviews Sentiment Analyzer AI Chatbot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published