Skip to content

aimerneige/node_json_api_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Json API Template

About

An simple template to build API with json format with nodejs and express.

Requirements

  • nodejs
  • npm

Usage

  1. clone or create new repo with this
  2. edit the package.json with your information
  3. switch to your LICENSE
  4. edit the README file
  5. create your db.js at src/config
  6. start your project

Deploy

  1. send your project to server
  2. npm i
  3. cerate src/config/db.js with your database config
  4. node cluster.js