chellongCoder / google-authenticator-clone-server

server nodejs in order to 2FA demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Node with Express Server with REST API

Build Status Slack Greenkeeper badge

An easy way to get started with a Express server offering a REST API with Node.js. Read more about it.

Features

  • Babel 7
  • Environment Variables
  • Express
  • REST API

Requirements

Installation

  • git clone https://github.com/chellongCoder/google-authenticator-clone-server.git
  • cd node-express-server-rest-api
  • npm install
  • npm start
  • optional: include .env in your .gitignore

GET Routes

Beyond GET Routes

CURL

  • Create a message with:
    • curl -X POST -H "Content-Type:application/json" http://localhost:3000/messages -d '{"text":"Hi again, World"}'
  • Delete a message with:
    • curl -X DELETE -H "Content-Type:application/json" http://localhost:3000/messages/1

Postman

intergrated application

https://github.com/chellongCoder/google-athenticator-clone-app

About

server nodejs in order to 2FA demo


Languages

Language:HTML 77.2%Language:JavaScript 22.8%Language:Shell 0.0%