Skip to content

React app with backend in node.js & database in PostgreSQL, which uses Clarifai API to detect the faces from a image.

Notifications You must be signed in to change notification settings

arjunan-k/Smart_Brain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smart Brain

  1. Clone this repo
  2. Run npm install
  3. Run npm start
  4. Add your API key in the backend gRPC or backend/controllers/image.js file to connect to Clarifai API
  5. Add your own database credentials to server.js in backend/backend gRPC

You can grab Clarifai API key here

Database Setup for Supabase or Local Host

# Supabase
const db = knex({
  client: 'pg',
  connection: {
    host : 'Grab host from Supabase Settings -> Database',
    port : 5432,
    user : 'postgres',
    password : 'Password from Supabase',
    database : 'postgres'
  }
});
# Local
const db = knex({
  client: 'pg',
  connection: {
    host : '127.0.0.1',
    port : 5432,
    user : 'postgres',
    password : 'password of your postgres user',
    database : 'smartbrain'
  }
});
Demo.mp4

Made by Arjunan K

Back to top

About

React app with backend in node.js & database in PostgreSQL, which uses Clarifai API to detect the faces from a image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published