This is a simple API that saves contact information of people.
There are two versions of this project.
Install global TypeScript and TypeScript Node
npm install -g typescript ts-node
You should install MongoDB on your local machine, or use other services such as mLab or Compose
After that, you will have to replace the mongoURL with your MongoDB address in lib/app.ts
git clone git@github.com:dalenguyen/rest-api-node-typescript.git .
Then install the dependencies
npm install
Run in development mode
npm run dev
Run in production mode
npm run prod
The default URL is: http://localhost:3000
Send GET request to http://localhost:3000/contact/
The default URL is: https://localhost:3000
The key and cert in the config folder is for testing purpose only. You should generate your own.
Reference from Lynda.com
RESTful API using Node.js, Express, Mongoose & TypeScript This is a boilerplate for building scalable and robust REST APIs using Node.js & TypeScript. Table of Contents Prerequisites Features Getting
Node - Koa - Typescript Project The main purpose of this repository is to build a good project setup and workflow for writing a Node api rest in TypeScript using KOA and an SQL DB. Koa is a new web fr
Node.js API com Typescript Código do curso �� DO ZERO A PRODUÇÃO: APRENDA A CONSTRUIR UMA API NODE.JS COM TYPESCRIPT Durante o curso é criado uma API para calcular a melhor condição de surf entre vari
由于现有的node weixin api接口做的比较麻烦,不利于书写与理解.故重新书写代码,架构. 让开发者更容易理解与使用,并且帮助提升软件质量 node-weixin-api是基于node-weixin-*的API接口的SDK。 它们都是由下列子项目组合而成, node-weixin-api只是将业务接口统一到一个api里方便调用,而不必一个一个重新安装: node-weixin-config
我尝试了很多次,但得到以下错误 http://localhost:3001/getlocaiton net::err_connection_delection和createError(createError.js:17)位于xmlHttpRequest.handleerror(xhr.js:87)。
Storm UI 守护程序提供了一个 REST API, 允许您与 Storm 集群进行交互, 其中包括检索 metrics(度量)数据和配置信息, 启动或停止 topologies(拓扑)的管理操作。 数据格式 该 REST API 返回 JSON 响应并支持 JSONP. 客户端可以传回一个回调查询参数, 以在回调函数中包装 JSON。 REST API allows CORS by defa