Welcome to the Gemini Time Complexity Project!, Previously known as Gemini API Project, This project aims to provide a robust and efficient website to find the time complexity of any program you can access the website through this link : https://gemini-time-complexity-project.onrender.com/
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
A step-by-step guide to get a development environment running:
-
Clone the repository:
git clone https://github.com/matrixton02/gemini_api_project.git cd gemini_api_project
-
Install dependencies:
npm install @google/generative-ai body-parser cors dotenv express path --save
-
Set up environment variables: Create a
.env
file in the root directory and add the following : note you can get your gemini api by heading to https://ai.google.dev/aistudio and sign-in and click on "get api key" and copy that and put that value in between " " as shown belowGEMINI_API_KEY = "AI..."
-
Start the server: ```sh npm start ```
Explain how to use the API, including code snippets, if necessary.
A comprehensive list of API endpoints:
GET /
- Lands you at the main home page of the programPOST /send-text
- send request to the server which in turn sends request to the gemini ai servers and return a response
(Include detailed descriptions, request parameters, and example responses for each endpoint.)
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
Maintained by Soumyajyoti Mohanta & Yashasvi Kumar Tiwari.
For any queries, please contact [email protected] or [email protected].