https://github.com/djjjonas/shopper-backend
Backend do teste técnino da Shopper.com.br
https://github.com/djjjonas/shopper-backend
backend docker docker-compose gemini gemini-pro-vision nestjs nodejs pnpm typeorm typescript
Last synced: 3 months ago
JSON representation
Backend do teste técnino da Shopper.com.br
- Host: GitHub
- URL: https://github.com/djjjonas/shopper-backend
- Owner: DJJJonas
- License: mit
- Created: 2024-08-27T19:59:42.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-23T13:22:01.000Z (11 months ago)
- Last Synced: 2025-07-05T18:32:40.455Z (3 months ago)
- Topics: backend, docker, docker-compose, gemini, gemini-pro-vision, nestjs, nodejs, pnpm, typeorm, typescript
- Language: TypeScript
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Shopper Back-end
Technical test sent to me by Shopper. A back-end of an image reading service. There is 3 endpoints and one integration with Google Gemini's API.
## Run Locally
Clone the project
```bash
git clone https://github.com/DJJJonas/shopper-backend
```Go to the project directory
```bash
cd shopper-backend
```### Running with Docker and docker-compose
```bash
docker-compose up --build
```- Go to http://localhost:3000/ to access Swagger.
### Running in development mode
1. Install pnpm
```bash
npm install -g pnpm
```2. Install dependencies
```bash
pnpm install
```3. Run the database
```bash
docker-compose up --build
```4. Run the project in development mode
```bash
pnpm start:dev
```## References
- [Install Node and NPM](https://nodejs.org/)
- [Install Docker](https://docs.docker.com/engine/install/)
- [Install docker-compose](https://docs.docker.com/compose/install/)
- [NestJS Docs](https://docs.nestjs.com/)
- [Google Gemini's API Docs](https://ai.google.dev/gemini-api/docs/vision?lang=node)
- [TypeORM Docs](https://typeorm.io/)