This repository is for the web server (back-end) of the web application. It was constructed using Express.js and PostgreSQL. The web server communicates with the front-end (React.js), database (PostgreSQL), and Clarifai's Face Detection API.
- Clone this repo
- Run
npm install
- Run
npm start
- You must add your own
API key / Personal Access Token (PAT)
in thecontrollers/image.js
file to connect to Clarifai API - Add your own database credentials to server.js line 11
You can grab Clarifai API key here
Make sure you use PostgreSQL instead of MySQL for this codebase.