Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sujaykundu777/faceapp
Face Recognition App built using React and Node
https://github.com/sujaykundu777/faceapp
api expressjs face-detection nodejs react redux
Last synced: about 1 month ago
JSON representation
Face Recognition App built using React and Node
- Host: GitHub
- URL: https://github.com/sujaykundu777/faceapp
- Owner: sujaykundu777
- Created: 2018-04-23T07:27:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-06T11:22:55.000Z (almost 6 years ago)
- Last Synced: 2024-11-14T21:42:38.971Z (3 months ago)
- Topics: api, expressjs, face-detection, nodejs, react, redux
- Language: JavaScript
- Homepage: https://faceapp-react.herokuapp.com/
- Size: 11.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Face Recognition App Using React
### Installation Steps for Development
Clone the github repo:
```
$ git clone https://github.com/sujaykundu777/faceapp.git
$ cd faceapp
```#### Requirements : Install node, npm and mongodb locally
Install necessary packages for server
```
$ npm install
```Install necessary packages for client
```
$ cd client
$ npm install
```Create .env file for configuring Database Server Access :
```
$ cd faceapp
$ touch .env
```
Paste the following```
DB_HOST=localhost
DB_NAME =database
DB_USER =db_user
DB_PASS= db_password
PORT=3001
NODE_ENV=development
```Start the mongod server locally
```
$ sudo service mongod start
```Start the app
```
$ cd faceapp
$ npm start
```
The App should start at http://localhost:3000Create the first User
```
$ curl -i http://localhost:3001/api/setup
```Login the App using the following credentials
```
Email : [email protected]
Password: pass123
```Todo :
- Faceplusplus ( Not working )
- Deploy to Heroku (Done)Sample Request for Face++ API
```
curl -X POST "https://api-us.faceplusplus.com/facepp/v3/detect" -F "api_key=" \
-F "api_secret=" \
-F "image_file=@image_file.jpg" \
-F "return_landmark=1" \
-F "return_attributes=gender,age"
```