source-code, document, testing4everyone,

Source Code - Example Services Restful API for API Testing Course

Donald Donald Follow Jan 29, 2019 · 1 min read
Source Code - Example Services Restful API for API Testing Course
Share this

About

In order to practice the essential knowledge about API testing (Including manual testing and automation testing). We need to have the example services. On API Testing Sharing page, I already mention all free service for learn API testing. However, most of them are based on Mock-Data, it does NOT mimic to real service in real project.

Therefore, I built up a simple API service for tutorial and practicing purpose, how it mimics to real services in functional view.

walking

How to access, clone the source code

Following to these steps, to have the access permission and clone the resource code to run at your local machine

  • Contact me directly to purchase
    • Input your information here: https://josdoaitran.github.io/contact.html
    • Pricing: 99K (VND) or 4 USD
  • Receive the invitation to access to source code.

walking

Run the simple service on your local machine

  • Prerequisite
    • Install Python3
    • Install Docker
    • Install Pycharm or Visual Code (Editor tool to open my project source code)
  • Run the services

I already drafted up the steps into docker environment via docker-compose.yml file.

You don’t need to more steps to set-up and run the service

walking

After you run docker-compose.yml successfully. You can access to service via: http://127.0.0.1:5001

  • The log of service

You can access to the container of user-service to see the log of service as below:

walking

Now, you can access to: http://localhost:5001

Join Newsletter
Get the latest news right in your inbox. We never spam!
Donald
Written by Donald
Hi, I am Donald (Doai Tran), the author of Testing4Everyone. I hope you like it!