| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Welcome to the Star Wars API Wrapper! This project provides a simple and efficient way to access detailed information about characters (people) and planets from the Star Wars universe.
Whether you're developing a Star Wars-themed application, conducting data analysis, or just exploring the rich universe of Star Wars, this wrapper ensures a seamless and reliable experience.
The project was built using Nest.js, a framework suited for the purpose of building scalable Node.js server side applications.
To aid with a quick setup of this project on your local environment, I have taken the liberty to add a Docker configuration to the setup to make things easier (details regarding this are outlined in the later sections of this document)
However, if you decide not to go the Docker route, the following requirements are needed to successfully run the application:
The Star Wars API Wrapper is a simple and efficient tool designed to provide easy access to detailed information about characters (people) and planets from the Star Wars universe. This wrapper simplifies the process of making requests to the Star Wars API, handling aspects such as rate limiting, timeouts, and concurrency control to ensure reliable and efficient data retrieval.
With this API wrapper, you can:
Whether you're building a Star Wars fan site, creating a data analysis project, or just exploring the Star Wars API for fun, this wrapper offers a convenient and reliable way to interact with the API.
Seeing that this project is API-based, I have taken the liberty to create a Postman documentation outlining all endpoints on the project (alongside relevant examples). View the documentation here
git clone https://github.com/prismaticoder/swapi-wrapper.git
cp .env.example .env
docker-compose up --build
git clone https://github.com/prismaticoder/swapi-wrapper.git
$ npm install# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prodWhen building the Star Wars API Wrapper, several design considerations were taken into account to ensure reliability, efficiency, and optimal performance:
Timeout Implementation:
Rate Limiting:
Concurrency Control:
These considerations help in providing a robust and reliable API wrapper for accessing Star Wars data while respecting the limitations and maintaining the performance of the underlying Star Wars API.
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov| Back | FazBrowse Home | New Git URL |