Skip to content

rscheffers82/API-microservices

Repository files navigation

API Microservice projects

This repo is a collection of several API challenges from Free Code Camp. They are bundled to be able to deploy them under a single app on Heroku as unfortunately, heroku allows only 5 apps under their free tier.
<<< Visit the main app >>>

Screenshot API Microservices

Timestamp API

Build an app that takes a unix or human readable time in the URL and outputs the result in JSON with properties unix and human with the proper data. If invalid input is provided, JSON data will be returned with both properties valued null.
Timestamp live demo
Free Code Camp Challenge

Header Parser API

This API service will obtain the IP address, language and operating system from the visitor / client and provides JSON data object back.
Header Parser Demo
Free Code Camp Challenge

URL Shortener API

This API takes a URL and shortens it. When the shortened version is visited, it will redirect to the original URL.
URL Shortener App
Free Code Camp Challenge

File Metadata API

This API takes an uploaded file and returns its metadata in JSON format.
File Metadata App
Free Code Camp Challenge

Exercise Tracker API

This API provides two POST routes that will let users create a new account and log new exercises. The GET route will return logged exercises.
Exercise Tracker App
Free Code Camp Challenge

Show me how to run this locally

Easy! To start off download the master branch. Once files are downloaded...

  1. Ensure mongoDB is running locally
  2. Run npm run start:local from the terminal
  3. visit http://localhost:8080
  4. Have fun! :)