An API that offers you information about countries and international organizations, including their flags, their sub-regions, and even their currency.
In this section you will find a basic guide to use and the most relevant information for its use.
Check out Documentation for the specifications and get your API key to access the information.
Example of a simple request for information from countries once we have our API Key.
const fetchApiExample = () => {
return fetch('http://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));
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)
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 PayPal !
Thank you so much!
To view the license under which Countries Sundries is licensed, Click here!