Skip to content

Smart Brain API is the server-side component of the Smart Brain project, a real-life machine learning face detection application. Built using Node.js and Express.js, it provides the necessary infrastructure and functionality to support the front-end application and enable seamless communication with the Clarifai face-detection model API.

Notifications You must be signed in to change notification settings

imohamadnashaat/smart-brain-api

Repository files navigation

Smart Brain API

Getting Started

  1. Clone this repo
  2. You must add your own API key in the .env file to connect to Clarifai API
  3. Add your own database credentials to .env

You can grab Clarifai API key here

Running without Docker

  1. Run npm install
  2. Run npm start to start the application
  3. The application will be available at http://localhost:3000

Running with Docker Compose

Ensure that you have Docker and Docker Compose installed on your machine.

  1. Build the Docker image by running docker-compose build
  2. Start the application by running docker-compose up
  3. The application will be available at http://localhost:3000

To stop the application, use docker-compose down.

** Make sure you use postgreSQL instead of mySQL for this code base.

About

Smart Brain API is the server-side component of the Smart Brain project, a real-life machine learning face detection application. Built using Node.js and Express.js, it provides the necessary infrastructure and functionality to support the front-end application and enable seamless communication with the Clarifai face-detection model API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published