arshadkazmi42 / express-app

Basic code setup for writing REST api using express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

express-app

Boiler plate for REST API in express. Ready to use basic express setup

Setup

  1. Run npm install in root directory
  2. To start the api server node server.js

Route (Dummy)

  • api/compose/express/app

    • Details about the api

Usage

  • Clone this repository
  • Add your routes in server.js
  • Define your controllers in controllers/ directory
  • Write all your library (utility) functions in lib directory
  • Write all unit tests in tests directory
  • Modify details in package.json based on the project you will be building
  • You can change the default post 8000 to anything you want in server.js

About

Basic code setup for writing REST api using express


Languages

Language:JavaScript 100.0%