https://github.com/arjunan-k/smart_brain
React app with backend in node.js & database in PostgreSQL, which uses Clarifai API to detect the faces from a image.
https://github.com/arjunan-k/smart_brain
machine-learning nodejs react sql
Last synced: 2 months ago
JSON representation
React app with backend in node.js & database in PostgreSQL, which uses Clarifai API to detect the faces from a image.
- Host: GitHub
- URL: https://github.com/arjunan-k/smart_brain
- Owner: arjunan-k
- Created: 2022-12-17T15:23:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-21T08:03:45.000Z (over 2 years ago)
- Last Synced: 2025-01-09T11:09:13.521Z (4 months ago)
- Topics: machine-learning, nodejs, react, sql
- Language: JavaScript
- Homepage: https://smartybrain.vercel.app/
- Size: 2.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
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](https://www.clarifai.com/)
Database Setup for Supabase or Local Host
```javascript
# Supabase
const db = knex({
client: 'pg',
connection: {
host : 'Grab host from Supabase Settings -> Database',
port : 5432,
user : 'postgres',
password : 'Password from Supabase',
database : 'postgres'
}
});
```
```javascript
# Local
const db = knex({
client: 'pg',
connection: {
host : '127.0.0.1',
port : 5432,
user : 'postgres',
password : 'password of your postgres user',
database : 'smartbrain'
}
});
```https://user-images.githubusercontent.com/104669486/208252596-02c750f8-c214-4472-b09c-0d36f0e530f5.mp4


Made by Arjunan K