Kevinlc33 / Smart-Brain-API-2.0

Smart-Brain-API-2.0 is a dockerized version of Smart-Brain-API that works alongside Smart-Brain-2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smart-Brain-API

Smart-Brain-API-2.0(and it's front-end Smart-Brain-2.0) is a dockerized version of Smart-Brain-API that now includes Redis, token authorization, and PLpgSQL data. This version is designed to get a new-developer up and running as quickly as possible.

  1. Clone this repo

  2. run npm install

  3. Make sure you have docker installed and running on your computer

  4. Run docker-compose up ( you may have to run docker-compose up --build for the first setup phase)

  5. You must add your own API key. Create a .env file in the root of the project and place the API key as such: REACT_APP_CLAIRFAI_KEY=yourApiKeyGoesHere

  6. You will also need to update Line 22 in server.js to your client app port (i.e. 3001)

You can grab Clarifai API key here

  1. Set up the front-end using this repo: https://github.com/Kevinlc33/Smart-Brain-2.0

About

Smart-Brain-API-2.0 is a dockerized version of Smart-Brain-API that works alongside Smart-Brain-2.0


Languages

Language:JavaScript 89.6%Language:Dockerfile 7.1%Language:PLpgSQL 3.3%