Skip to content

epalmai/secret-server-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Technologies used

Server: Apache HTTP
Language: PHP 7.4.1
Framework: No frameworks were used

Project description

Database: The database for this API service contains a single table named secret, the columns of which are detailed in the following table: Columns of the secret data table

API Response types: The API can respond with XML or JSON data based on the Accept HTTP request header. The Accept header is supported in a case-insensitive manner in accordance with RFC 2616.

Extendability: Additional response formats could be easily added without modifying existing code. All that would be needed for an additional response format is a new class that implements ResponseFormatterInterface and conforms to the specific classname format required by ResponseFromatterFactory.

Hosting: This API is hosted at: http://api.secret-server.randian368.link/v1/
As specified in swagger.yaml, the following endpoints have been implemented:

Code quality: The codebase was written in Object Oriented style and uses PSR-0 autoloading with Composer. I would say it is about 6/10 adherent to clean code principles.

Most classes, and some of their less self-evident methods do have docblock-style comments explaining at least their purpose/responsibility.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages