Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.07 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.07 KB

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.