Coder Social home page Coder Social logo

facerecognitionapi's Introduction

facerecognitionapi

heroku git:remote -a to fix old application issue

If you are encountering an issue following the next video and you are seeing errors like...

Error: self signed certificate or code: 'DEPTH_ZERO_SELF_SIGNED_CERT'

This is due to a line in the code you will see in the next video where we set ssl: true

In the case that you see the error above, it may have to do with the fact that we are using the free version of Heroku. If you encounter this issue (and only if you do), you can resolve it by adding the below on line 11 in the server.js file:

process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0; Note that this is not secure for use in production, and to only use for local development (which isn't a big issue for us because this is a personal project app with no real users)

CREATE TABLE users (id serial PRIMARY KEY, name VARCHAR(100), email text UNIQUE NOT NULL, ENTRIES BIGINT DEFAULT 0, joined TIMESTAMP NOT NULL); CREATE TABLE login (id serial PRIMARY KEY, hash varchar(100) NOT NULL, email text UNIQUE NOT NULL);

Heroku Commands

heroku addons heroku pg:info heroku info heroku config

facerecognitionapi's People

Contributors

jaijujacob avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.