Skip to main content

📖 Introduction

DocumentationRESTasaurus API hosted via RenderWakatime Coding Stats for RESTasaurusMIT License BadgeCode Style - Prettier
ReleaseClosed IssuesClosed PRsGitHub Lint Action Workflow Status

Overview​

RESTasaurus is a RESTful API, leveraging Express, MongoDB, and Mongoose to deliver comprehensive data on almost 1200 dinosaurs!

info

The data within the API is taken directly from Wikipedia via its API, as is. Please note that the information may have been modified since the last retrieval. All images and text belong to their respective authors, and attribution is provided accordingly for both. After retrieval, the data undergoes processing to be transformed into a custom JSON object, referred to as MongooseData.

For a better understanding of the information provided by the API, please check out the models directory. The schemas used within the MongoDB database include:

  • Dinosaur: This is the main model which represents a dinosaur, including its unique properties such as name, temporal range, diet, locomotion type, and a description. Additionally, it also contains references to the sub-models below, which are populated with their relevant values when handling API requests.
  • ClassificationInfo: This model contains the classification information of a dinosaur, including details like its family, order, and genus.
  • DinosaurImage: This model is used to store the image data related to a dinosaur, including the image source and attribution details.
  • DinosaurSource: This model represents the source of the dinosaur data, which is the Wikipedia article for that particular dinosaur. This includes information such as the title, author, last revision date, revision history url, and more.

Additionally, if you would like to see an example of a response from the API, please see the Model Overview page to see the model structure present within the API.

ÂŠī¸ License​

The contents of this repository are licensed under the terms and conditions of the MIT license.

MIT Š 2024-present Visakan Kirubakaran.