Skip to content

A node.js service built with speed and throughput in mind that allows the user to GET/PUT/POST city population data.

License

Notifications You must be signed in to change notification settings

Andy-Waine/fastify-microservice

Repository files navigation

Fastify Microservice API 🌐

📁 Table of Contents

ℹ️ General Information

A node.js service built with speed and throughput in mind that allows the user to GET/PUT/POST city population data.

💻 Technologies Used

🔧 Setup

  • Ensure v18 of Node and the latest version of npm are installed on your machine.
  • Locally building this application requires an active local Redis instance on PORT:6379 (default) instructions.
  • Clone this repository and run npm install to download all dependencies.
  • Run npm run start to serve the application locally (http://127.0.0.1:5555/).
  • Make GET, PUT, and POST requests using the client of your choice (e.g. Postman, REST client, etc.) and the following route (replacing :city and :state with your desired parameters): http://127.0.0.1:5555/api/population/state/:state/city/:city

About

A node.js service built with speed and throughput in mind that allows the user to GET/PUT/POST city population data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published