Location Data Server for NodeJS

I have built my first NodeJS package that provides a json backend to api.piperpal.com and published it on https://www.npmjs.com/package/location-server/ const express = require(‘express’);const bodyParser = require(‘body-parser’);const axios = require(‘axios’); const app = express();const port = 3000; app.use(express.static(‘public’));app.use(bodyParser.urlencoded({ extended: true }));app.use(bodyParser.json()); app.get(‘/location-server-time’, async (req, res) => {const { timeOut, timeBegin, timeEnd } = req.query;try {const response… Continue reading Location Data Server for NodeJS

Categorized as Node