Skip to content

A simple Node.js/Express backend that provides user authentication and image recognition functionality using the Clarifai API, with PostgreSQL for persistence. This service is deployed on Railway infra platform and to serve as the backend for a front-end face-detection app.

Notifications You must be signed in to change notification settings

shwetanaren/server-image-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Image Recognition API

A simple Node.js/Express backend that provides user authentication and image recognition functionality using the Clarifai API, with PostgreSQL for persistence. This service is designed to be deployed easily (e.g., on Railway) and to serve as the backend for a front-end face-detection application.


🚀 Features

  • User authentication: register, sign in, and profile lookup
  • Image recognition: integrates with Clarifai to detect faces in images
  • PostgreSQL database: secure password storage (bcrypt), transactional inserts

📦 Tech Stack

Layer Technology
Backend Node.js, Express
Database PostgreSQL (Knex.js ORM)
Recognition Clarifai API
Auth bcrypt
Deployment Railway (Nixpacks builder)

🛠️ Prerequisites

  • Node.js v16+ and npm
  • PostgreSQL (local for development)
  • Clarifai API key (create a free account at https://clarifai.com)

⚙️ Environment Variables

Key Description
PORT Port for Express server (default: 3000)
DATABASE_URL PostgreSQL connection string
CLARIFAI_API_KEY Clarifai API key for image recognition

About

A simple Node.js/Express backend that provides user authentication and image recognition functionality using the Clarifai API, with PostgreSQL for persistence. This service is deployed on Railway infra platform and to serve as the backend for a front-end face-detection app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published