Project developed during my Udemy course certification
- Clone this repo
- Run
npm install
- Run
npm start
- You must add your own API key in the
controllers/image.js
file to connect to Clarifai API.
You can grab Clarifai API key here
** Make sure you use postgreSQL instead of mySQL for this code base.
The DB:
login table: CREATE TABLE login ( id serial PRIMARY KEY, hash varchar(100) NOT NULL, email text UNIQUE NOT NULL );
users table: CREATE TABLE users ( id serial PRIMARY KEY, name VARCHAR(100), email text UNIQUE NOT NULL, entries BIGINT DEFAULT 0, joined TIMESTAMP NOT NULL );