Skip to content

MunifTanjim/freeCodeCamp-API-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(freeCodeCamp) API Projects

by MunifTanjim

Live Demo

(freeCodeCamp) API Projects - MunifTanjim

API Documentation

Base URL -> https://api-projects-fcc-mt.herokuapp.com/timestamp

Description Request Type URL endpoint Example
Converts unix timestamp to natural language date [ GET ] /<unix-timestamp> /1819821600
Converts natural language date to unix timestamp [ GET ] /<natural-language-date> /September%2002,%202027

freeCodeCamp challenge: timestamp-microservice

Base URL -> https://api-projects-fcc-mt.herokuapp.com/request-header-parser

Description Request Type URL endpoint Example
Returns information from request header [ GET ] /whoami /whoami

freeCodeCamp challenge: request-header-parser-microservice

Base URL -> https://api-projects-fcc-mt.herokuapp.com/url-shortner

Description Request Type URL endpoint Example
Redirects to main url [ GET ] /<shortcode> /2
Returns shorturl [ GET ] /new/<url> /new/https://www.freecodecamp.com

freeCodeCamp challenge: url-shortener-microservice

Base URL -> https://api-projects-fcc-mt.herokuapp.com/image-search

Description Request Type URL endpoint Example
Returns image search result [ GET ] /search/<keyword> /search/cats
Returns image search result skipping offset number [ GET ] /search/<keyword>?offset=<number> /search/cats?offset=27
Returns latest search terms [ GET ] /latest /latest

freeCodeCamp challenge: image-search-abstraction-layer

Base URL -> https://api-projects-fcc-mt.herokuapp.com/file-metadata

Description Request Type URL endpoint Example
Returns uploaded file's size [ POST ] /filesize Check live demo

freeCodeCamp: file-metadata-microservice