Skip to content

jmj0502/test-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to this super simple express server.

This may look like a total beginner's project, but let me tell you, this specific repo solves a pretty particular problem related with the test of services that post data to a remote API.

Why testing that kind of service may be a problem?

Well the easy answer for this is that sometimes, the people we are working with havent develop the API intended to receive our data and return an especific response in relation to the status of the request etcetera. This may sound a little awkward, but it actually happens so here we are.

How should I use this? (It's way to small to be used)

That's easy to answer, to initialize the server, just run yarn start or yarn dev. You should use this service alongside some kind generic domain like ngrok, and forward your post request to "/api/test". By doing so, you should be able to simulate the remote API you're expecting to reach.

Note: remember to run the yarn command (or npm install in case you haven't install yarn).

About

A little test server built in express in order to test the functionality of services that post to a remote API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors