Skip to content

benjaminpeto/face-recognition-app-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

face-recognition-app-api

This is the backend of my Face-Recognition-App, built with Node and ExpressJS. Contains libraries like bcrypt for password hashing, knex and pg for the postgreSQL database, CORS to provide a middleware, and the face detection API from Clarifai.

If you would like to use it, you will need to register on Clarifai to get you own API key. It's free!

After you registered on Clarifai, you will need to change the API_KEY to you own in the ./components/image.js file.

const app = new Clarifai.App({
  apiKey: process.env.API_KEY,
});

And also you must change to your local database in the ./server.js, inside the object.

  client: "pg",
  connection: {
    connectionString: process.env.DATABASE_URL,
    ssl: { rejectUnauthorized: false }
  }
});

You can find the live website here, and the front-end part of my project on this link.

Releases

No releases published

Packages

No packages published