Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.29 KB

README.md

File metadata and controls

49 lines (40 loc) · 1.29 KB

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