A simple face detect react app using Clarifai API.
Server side: Face Detection Reeact APP Backend
-
First clone the the project.
-
Open the Backend Folder First
-
Install the dependencies or read readme file from backend api folder
npm install
-
Create a postgreSQL database named
Face-Detect-React-App
inside database create 2 table named
users - id - name - email - entries - join date login - id - hash - email
-
Run the database
-
Run the app for check everything is right
npm start
-
Now go to the frontend folder
-
Follow the same step 3 from above.
-
Run the app
npm start
note: It might say, another app is running on port 3000, simple choose another port from terminal warning, don't worry it will automatic open another port for you. example: port 3001
-
Simple Register a new account
-
Then choose a Face image from web put the url in input box
-
See the Magic.
TO install the script
npm install
To start the app
npm start