Skip to content

sadhakbj/Nodejs-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XNoPo (Express, Node, Postgres) Backend

Nodejs Backend with Postgresql

Install

The application app can be installed using the following commands:

  • git clone git@github.com:sadhakbj/Nodejs-Boilerplate.git api
  • cd api
  • Copy the env file .env.example .env
  • Update database configurations
  • Install required dependencies using: npm install or yarn

Run

  • Run all the migrations using command: yarn migrate
  • Seed the data: yarn db:seed
  • Serve the application: yarn serve
  • Access: http://127.0.0.1:5000

Framework & Libraries used:

  • Express JS - Web Application framework
  • Knex.js - Query Builder
  • Objection ORM
  • ValidatorJS