Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.28 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.28 KB

starfinder

StarFinder

AI to detect celebrities from picture using aws celebrities recognition api. see demo

Requirements

nodejs php ^7 composer

Setting up frontend

  1. clone the repo https://github.com/tawfek/StarFinder.git
  2. run npm run install command , to install dependencies

Setting up AWS api

  1. Make new access key from AWS IAM Managemnt console
  2. make .env file like the .env.example
  3. add your access key ID and secret access key in env
  4. edit the API_ENDPOINT target with your own server

Setting up backend

  1. inside /api run composer install
  2. make cache dir called cache inside /api/src and give the dir 777 permissions

Run

  1. run php server inside /api , using PHP -S 127.0.0.1:3001 command to start the server
  2. to run the app run npm run start command will open the application on localhost:3000