Skip to content

Countries Sundries is a RESTful API that provides essential information about countries around the world.

License

Notifications You must be signed in to change notification settings

ArielBritezDiaz/countries-sundries-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Countries Sundries Logo

LinkedIn/Ariel Diaz Gmail/arielbritezdiaz@gmail.com PayPal: https://www.paypal.com/paypalme/ArielBritezDiaz Technologies License/BSD 2-Clause

An API that offers you information about countries and international organizations, including their flags, their sub-regions, and even their currency.

Overview

⚠️Notice⚠️: This project is developed entirely by Ariel Diaz, it is very advanced, but several errors have not yet been corrected regarding its deployment to production, therefore it is not yet 100% functional. Thank you very much for reading and understanding, have a nice day and as soon as possible Countries Sundries API will be published so you can enjoy this service!

In this section you will find a basic guide to use and the most relevant information for its use.

Getting Started

Check out Documentation for the specifications and get your API key to access the information.

Usaging API

Example of a simple request for information from countries once we have our API Key.

const fetchApiExample = () => {
  return fetch('http:https://countriessundries.com/api/v1/country/all', {
    method: 'GET',
    headers: {
      'x-countries_sundries-key': 'Bearer x-xxx-xxxx-x',
      'x-api-version': '1'
    }
  })
  .then(response => response.json());
};

fetchApiExample()
  .then(data => console.log(data))
  .catch(error => console.error(error));

Technologies

This section discusses the fundamental technologies with which 100% of this project was developed. Due to problems with the deployment, technology modifications were made in search of a guaranteed deployment.

  • NestJs (Backend Framework)
  • MySQL (Relational Database Management System)
  • Prisma (ORM - Object-Relational Mapping)
  • Bun (JavaScript Runtime Environment)
  • Starlight (Astro documentation plugin)
  • Astro (Static Site Generator Framework)
  • TailwindCSS (CSS Framework)

The technologies to which the code was transitioned in search of a secure deploy were:

  • PostgreSQL (Relational Database Management System)
  • TypeORM (ORM - Object-Relational Mapping)
  • NodeJs (JavaScript Runtime Environment)

Support

If you want to support me and make it possible for both Countries Sundries API and other projects to grow and provide a better service, you can do it through PayPalPayPal !
Thank you so much!

Licence

To view the license under which Countries Sundries is licensed, Click here!

About

Countries Sundries is a RESTful API that provides essential information about countries around the world.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages