Skip to content

πŸš— This is a simple API built with Deno that provides information about vehicles based on their manufacturing year

Notifications You must be signed in to change notification settings

fordus/vehicles-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Simple Motorcyle API in Deno πŸ¦•

This is a simple API built with Deno that provides information about vehicles based on their manufacturing year.

Available Routes

  • GET /api/motorcycles/{year}

    Retrieves information about motorcycles manufactured in the specified year.

    Example: /api/motorcycles/2022

    Response:

    {
        "make": "DUCATI",
        "models": [
            "1098S",
            "1199",
            "500 PANTAH",
            "M900",
            "M900/900 S",
            "MH900E",
            "MTS 620",
            "SUPER SPORT",
            "SUPER SPORT 1000 DS"
        ]
    }

Getting Started

To run the API, make sure you have Deno installed on your machine. Then, follow these steps:

  1. Clone the repository:
git clone https://github.com/surdle/vehicles-api.git
  1. Navigate to the project directory:
cd vehicles-api
  1. Run the API:
deno run --allow-net main.ts

The API will start running on http://localhost:8000.

About

πŸš— This is a simple API built with Deno that provides information about vehicles based on their manufacturing year

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published