An open API service indexing awesome lists of open source software.

https://github.com/joacod/node-playground-api

Node.js playground Web API using Express
https://github.com/joacod/node-playground-api

expressjs nodejs

Last synced: 2 months ago
JSON representation

Node.js playground Web API using Express

Awesome Lists containing this project

README

          

# Node.js Playground
Node.js playground Web API using [Express](https://expressjs.com/)




## Notes
The idea of this project is to provide all the apis that exists in my other repositories [NetCore.Playground.Api](https://github.com/joacod/NetCore.Playground.Api) and [go-playground-api](https://github.com/joacod/go-playground-api)

What we get from this:
- We practice different approaches in Node.js
- We can compare **Node.js** implementations with the same ones written in **.NetCore** and **Go**
- We have three versions of the same Web Api written in different languages, that can be switched from a UI having the exact same results

I have created three UI projects to consume the APIs created here, you can use either of the following repositories:
- [Angular Playground](https://github.com/joacod/angular-playground-ui)
- [Vue Playground](https://github.com/joacod/vue-playground-ui)
- [React Playground](https://github.com/joacod/react-playground-ui)

## Prerequisites
- [Install Node.js](https://nodejs.org/)

## Some libraries used
- [debug](https://github.com/visionmedia/debug) (Debugging utility modelled after Node.js)
- [chalk](https://github.com/chalk/chalk) (Terminal string styling)
- [morgan](https://github.com/expressjs/morgan) (HTTP request logger middleware for node.js)
- [nodemon](https://github.com/remy/nodemon) (Monitor for any changes in your node.js application and automatically restart the server)
- [axios](https://github.com/axios/axios) (Promise based HTTP client)

## How to Run it
1. From the terminal: `npm start`
2. Once it's running, go to a browser
3. Hit the following url http://localhost:8080/

## What you will find so far :heavy_check_mark:
- [x] Web API created with Node.js and Express