This project is a full-stack application created to demonstrate my skills in building and deploying a chatbot using Node.js, Express, and EJS, integrated with Google Generative AI. The chatbot is designed to provide information about Restroworks and how their solutions can help businesses in the restaurant industry.
- Chatbot Integration: Utilizes Google Generative AI to power the chatbot, providing detailed and accurate responses related to Restroworks' offerings.
- User Interaction: The chatbot engages users by understanding their business needs and suggesting relevant solutions.
- EJS Templating: The frontend is rendered using EJS, allowing for dynamic content based on user interactions.
- Express Server: The backend is built with Express, handling routing, API requests, and serving static files.
- Node.js: Backend runtime environment.
- Express: Web framework for Node.js.
- EJS: Embedded JavaScript templating.
- Google Generative AI: Provides the intelligence behind the chatbot.
- Render: Hosting platform for the deployed application.
.
├── public
│ ├── assets
│ │ ├── behavior.js
│ │ ├── style.css
│ │ └── webpageStyle.css
│ └── views
│ ├── index.ejs
│ └── webpage.ejs
├── .env
├── .gitignore
├── imports-and-load-chatbot-model.js
├── index.js
├── package.json
├── post-request-for-chat-bot.js
└── README.md
-
Clone the repository:
git clone https://github.com/yourusername/restroworks-chatbot.git
-
Install dependencies:
cd restroworks-chatbot npm install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add your Google Generative AI API key:
GEMINI_API_KEY=your_google_api_key_here
- Create a
-
Run the application:
npm start
The application will run on
http://localhost:3000
. -
Access the chatbot:
- Visit
http://localhost:3000
to interact with the chatbot.
- Visit
This project is deployed on Render and can be accessed at the following link:
https://restroworks-chatbot.onrender.com
This project was created to showcase my full-stack development skills to the Restroworks team. It demonstrates my ability to integrate third-party AI services, build dynamic web applications, and deploy complex projects on cloud platforms.