15 |
16 | ## Blog Posts
17 |
18 | 1. [https://luixaviles.com/2024/03/build-gemini-chatbot-with-angular-and-nestjs/](https://luixaviles.com/2024/03/build-gemini-chatbot-with-angular-and-nestjs/). Start a project from scratch and generate an Nx-based workspace using Angular and NestJS. The web application support a multi-turn conversation(chatbot) and text generation using Gemini models.
19 |
20 | 1. [https://luixaviles.com/2024/03/using-gemini-pro-vision-image-processing-using-angular-nestjs/](https://luixaviles.com/2024/03/using-gemini-pro-vision-image-processing-using-angular-nestjs/). Add the Image processing ability to the existing application. It uses the Gemini Pro Vision Model.
21 |
22 | ## Features
23 |
24 | This project currently supports:
25 |
26 | - Multi-turn conversations (Chatbot application)
27 | - Text Generation
28 | - Image Processing
29 |
30 |
31 |
32 | ## Support this project
33 | - Star GitHub repository :star:
34 | - Create pull requests, submit bugs or suggest new features
35 | - Follow updates on [Twitter](https://twitter.com/luixaviles) or [Github](https://github.com/luixaviles)
36 |
37 | ## Running the Project Locally
38 | First, ensure you have the following installed:
39 |
40 | 1. NodeJS - Download and Install latest version of Node: [NodeJS](https://nodejs.org)
41 | 2. Git - Download and Install [Git](https://git-scm.com)
42 |
43 | After that, use `Git bash` to run all commands if you are on Windows platform.
44 |
45 | ### Clone repository
46 | In order to start the project use:
47 |
48 | ```bash
49 | $ git clone https://github.com/luixaviles/gemini-angular-nestjs.git
50 | $ cd gemini-angular-nestjs
51 | ```
52 | ### Get an API Key from Google AI Studio
53 |
54 | Go to the [Google AI Studio](https://aistudio.google.com/app/) website and generate an API Key.
55 |
56 | Next, create an `.env` file under the `/server` directory with the API key value you generated(You'll find a `.env.example` file as an example there):
57 |
58 | ```txt
59 | API_KEY=760 | You can activate distributed tasks executions and caching by 761 | running: 762 |
763 |nx connect764 | 769 | What is Nx Cloud? 770 | 771 |
Here are some things you can do with Nx:
800 |# Generate UI lib 818 | nx g @nx/angular:lib ui 819 | # Add a component 820 | nx g @nx/angular:component ui/src/lib/button821 |
nx show project client --web840 |
nx graph859 |
# see what's been affected by changes 878 | nx affected:graph 879 | # run tests for current changes 880 | nx affected:test 881 | # run e2e tests for current changes 882 | nx affected:e2e883 |
886 | Carefully crafted with 887 | 900 |
901 |