The backend part of smart-brain, a web app that detects human faces in a image provided with the image url.
-
Backend web development using Node.js, Express.js, PostgreSQL, and Clarifai API.
-
The full version of the app is deployed here.
-
You can find the code for the front-end part here.
From your command line:
# Clone this repository
$ git clone https://github.com/sharvarikhedkar/SmartBrain-api.git
# Go into the repository
$ cd SmartBrain-api
# Remove current origin repository
$ git remote remove origin
Then you can install the dependencies using NPM and start the development server:
# Install dependencies
$ npm install
# Start development server
$ npm start
You must add your own API key in the controllers/image.js
file to connect to Clarifai API.
You can grab Clarifai API key here.
- Folder Structure
SmartBrain-api
├── README.md
├── package.json
├── package-lock.json
├── server.js
└── controllers
├── signin.js
├── register.js
├── profile.js
└── image.js
- Bcrypt
- Postgresql
- knex
- body parser
- cors
- express