Skip to content

extsoft/numbers-api

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Numbers API

The project provides 2 HTTP endpoints

  • /even that returns an even number sequentially from 0
  • /random that returns a random positive number

Quality pipeline black wemake assistant: Elegant Git

Quick start

Run

docker run -i --rm --publish 5000:5000 docker.pkg.github.com/extsoft/numbers-api/app:latest

and open either http://localhost:5000/even or http://localhost:5000/random in a browser.

If you need some specific version of the Docker image, please go to https://github.com/extsoft/numbers-api/packages.

Used tools

Production tools

Development tools

Development tips

Almost all development actions are implemented on workflows.sh script. Run ./workflows.sh help to see all commands. Some of them are:

  • ./workflows.sh install_all_packages installs packages for development
  • ./workflows.sh style_code formats the code
  • ./workflows.sh quality_pipeline runs all assessments (aka CI workflow)