Skip to content

This is a back-end repository for country information display project using Node and Express.

License

Notifications You must be signed in to change notification settings

Chenmo1212/BE_Rest_Countries

Repository files navigation

Country Information API

Table of Contents
  1. About The Project
  2. Built With
  3. Getting Started
  4. Usage
  5. Roadmap
  6. Contributing
  7. License
  8. Acknowledgments

About The Project

The Country Information API is a Node.js and Express.js-based application that provides information about countries. Users can retrieve data about specific countries or get a list of all countries.

Built With

Getting Started

To run this project locally and access the API, follow these steps:

Prerequisites

You'll need to have the following software installed on your machine:

Installation

  1. Clone the repository:
    git clone https://github.com/your_username/country-information-api.git
  2. Navigate to the project directory:
    cd country-information-api
  3. Install the project dependencies:
    npm install
  4. Start the server:
    npm start
    The API will be available at http://localhost:3001.

Usage

You can use this API to retrieve information about countries. There are two main endpoints:

  1. To get a simple instruction, make a GET request to:
http://localhost:3001/
  1. To get a list of all countries, make a GET request to:
http://localhost:3001/all
  1. To get information about a specific country, make a GET request to:
http://localhost:3001/country/{country-name}

Roadmap

  • Implement basic API functionality
  • Add error handling and logging
  • Add automated test
  • Implement authentication and authorization
  • Add support for additional data fields See the open issues for a list of proposed features and known issues.

Contributing

Contributions are welcome! Here's how you can get involved:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License.

Acknowledgments

Here are some resources and tools that were used in the development of this project:

  • Node.js
  • Express.js
  • Axios
  • Jest
  • Supertest

About

This is a back-end repository for country information display project using Node and Express.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published