Skip to content

Oumamem/search_images_by_labels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API NODEJS & EXPRESS

Description

Use this API to get matched labels with a keyword from image

Steps

  1. IN .env file add:

    PORT = 3300

    ACCESS*KEY_UNSPLASH

    _To get it you have tcreate an account on unsplash*

    GOOGLE*VISION_KEYS = link of your json file.

    _To get it you have tcreate an account on Google Cloud vision (not free)*

  2. npm install to install modules

  3. POST a request to "/analyze" with a body request: "keyword" and "labels".

  4. Run server ```npx nodemon ./src/api.ts

  5. Access to "/api/docs" to access to Swagger description about our API

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published