API of chatGPT can make our software far more better. In this project I used ChatGPT API to generate response. It is a full-stack web application consisting of a client-side frontend and a server-side backend.
- Description: Basic starter code for a full-stack MERN software with authentication and authorization features.
- Key Features:
- User sign-up functionality.
- User log-in system.
- Password recovery mechanism.
- Description: Implementation of the ChatGPT API for natural language conversations.
- Key Features:
- User-friendly UI for a seamless chatting experience.
- Persistence of previous messages.
- Ability to provide a prompt and receive a ChatGPT-generated response.
- Description: Introduction of function calling in ChatGPT with a focus on a specific function.
- Key Features:
- Basic setup of a function in ChatGPT.
- Example function: Retrieving weather information by providing a location parameter.
-
Clone the Repository
git clone https://github.com/fahimsahriar/chat-gpt-mern
-
Navigate to the Client Folder
cd client
-
Install Dependencies
npm install
-
Navigate to the Server Folder
cd ../server
-
Install Backend Dependencies
npm install
-
Start Both Backend & Frontend Server
npm start
- React
- React Router DOM
- Axios
- Tailwind CSS
- Testing Library (Jest, react-testing-library)
- Node.js
- Express
- MongoDB (with Mongoose)
- JWT (JSON Web Tokens) for authentication
- Bcrypt for password hashing
- Dotenv for environment variables
- Joi for request validation
- Cors for enabling CORS (Cross-Origin Resource Sharing)
- Nodemon for automatic server restarts during development
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create your feature branch (git checkout -b feature/YourFeature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin feature/YourFeature)
- Open a pull request
This project is licensed under the ISC License. See the LICENSE file for details.