An open API service indexing awesome lists of open source software.

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

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/)