ExpressJS boilerplate with Socket.IO, Mongoose for scalable projects.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
#!/bin/bash
Node@v10.21.x or higher
A step by step series that will tell you how to get a development env running
#!/bin/bash
$ git clone https://github.com/imbudhiraja/express-boilerplate.git
$ cd express-boilerplate
#!/.nvm/versions/node/v10.x.x/bin/node
$ npm ci
Script | Description |
---|---|
npm run dev | Starts development server at localhost:8443 and socket server at localhost:3002 |
npm start | Starts production server at localhost:8443 and socket server at localhost:3002 |
npm run lint | Run Eslint to find out linting issues. |
npm run docs | Create API docs. checkout APIs at - localhost:3001/v1/docs |
npm run docs-postman | Create API docs JSON file to import to Postman |
touch .env
npm run start
http://localhost:8443/
Once server has started run http://localhost:8443/healthcheck.
快递概述 Express是一个最小且灵活的Node.js Web应用程序框架,它提供了一组强大的功能来开发Web和移动应用程序。 它有助于基于节点的Web应用程序的快速开发。 以下是Express框架的一些核心功能 - 允许设置中间件以响应HTTP请求。 定义路由表,该表用于基于HTTP方法和URL执行不同的操作。 允许基于将参数传递给模板来动态呈现HTML页面。 安装Express 首先,使用N
art-template for express. Install npm install --save art-template npm install --save express-art-template Example var express = require('express'); var app = express(); app.engine('art', require('exp
Serverless Express ⎯⎯⎯ This Serverless Framework Component enables you to take existing Express.js apps and deploy them onto cheap, auto-scaling, serverless infrastructure on AWS (specifically AWS HTT
Express, React/Redux, MySQL Boilerplate Get Started 1. Prerequisites NodeJs NPM - Node package manager MySQL - Relational database management system (RDBMS) 2. Installation On the command prompt run t
express-graphql-boilerplate Express GraphQL API with JWT Authentication and support for sqlite, mysql, and postgresql Authentication via JWT Support for sqlite, mysql, and postgresql Support for graph
Express ES2017 REST API Boilerplate Boilerplate/Generator/Starter Project for building RESTful APIs and microservices using Node.js, Express and MongoDB Features No transpilers, just vanilla javascrip