chemalopezp / Codeless-Node-APIs-With-Swagger-Open-API-Specification

CODELESS-NODE-APIs-WITH-SWAGGER-OPEN-API-SPECIFICATION

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js Codeless API Creation: Up And Running With Swagger.

exercise files for the course. Node.js Codeless API Creation: Up And Running With Swagger.

##Course Links http://btreepress.com/blog/portfolio-items/codeless-node-apis-with-swagger-open-api-specification/

https://www.udemy.com/course/1076002/

#This repo contains three sections:

###Example-HTTP-Codes

These are the standard http codes for you to enjoy.

###The TodoAPI is the final version of the API.

We will build the entirety of the api throughout the course.

###REACT-TODO-APP Contains the REACT TODO APP that we will use to connect to the API

#API Instructions

Getting Started

  • Clone the repo. Switch to the todo-api directory in the repo downloaded.
  • Install dependencies with npm install
  • Ensure you have swagger installed globally with npm install swagger -g
  • Start the node.js application using Swagger with swagger project start
  • Alternately, you can run the API server using nodejs-dashboard with npm run dev
    • Ensure you have nodejs-dashboard installed with npm install nodejs-dashboard -g
  • Launch the swagger editor to view/edit the API definition with swagger project edit

Using jmeter

  • Download and extract jmeter
  • Launch jmeter by navigating to the folder you downloaded, run bin/jmeter
  • Open the jmeterTest.jmx file in this repo to load test the API server

Additional Info:

  • Swagger NPM package can be found here
  • Elasticsearch NPM client used is here
  • nodejs-dashboard from Formidable Labs can be found here
  • Apache jmeter can be found here

React Instructions

This React application is a sample frontend This is Todo API server built with Swagger, part of the Node.js Codeless API Creation: Up And Running With Swagger. http://btreepress.com/blog/portfolio-items/codeless-node-apis-with-swagger-open-api-specification/ https://www.udemy.com/course/1076002/

Getting Started

  • Clone the repo.
  • Install dependencies with npm install
  • Launch the application with webpack -w
  • Ensure you have the Todo API server up and running

About

CODELESS-NODE-APIs-WITH-SWAGGER-OPEN-API-SPECIFICATION


Languages

Language:JavaScript 100.0%Language:HTML 0.0%