- Clone this repo
- Run
npm install
- Run
npm start
- Add your API key in the
backend gRPC or backend/controllers/image.js
file to connect to Clarifai API - Add your own database credentials to
server.js
inbackend/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