Skip to content

flexi-docit/backend

Repository files navigation

DocIt - Backend APIs

This is the backend API for a Library Management System application built with Node.js, Express, and Sequelize. It allows users to view, create, and delete blog posts.

Installation Guide

  • Clone this repo using git clone https://github.com/flexi-docit/backend.git DocItBackend
  • Move into cloned repo: cd DocItBackend
  • Install dependencies: npm i or yarn
  • Run: npm run start or yarn start

ENVIROMENT VARIABLES

Key Value
PORT 8000
NODE_ENV development/production
POSTGRES_USER database username
POSTGRES_PASSWORD database password
POSTGRES_DB_NAME database name
POSTGRES_HOST database host
POSTGRES_PORT database port
GMAIL_EMAIL Google email address
GMAIL_PASSWORD Google email password
FRONTEND_DOMAIN Frontend Domain
JWT_SECRET JWT secret key
REDIS_HOST Redis Server Host
REDIS_PORT Redis Server Port
REDIS_USERNAME Redis Server Username
REDIS_PASSWORD Redis Server Password