8000 GitHub - djwirz/faura-take-home
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

djwirz/faura-take-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encore Petfinder API

This project is built using Encore and integrates with the Petfinder API to search for adoptable pets.

Getting Started

Prerequisites

Installation

Clone the repository and install dependencies:

git clone https://github.com/encoredev/encore-petfinder-api.git
cd encore-petfinder-api
npm install

Setup Environment Variables

Create a .env.test file and add the following:

PET_FINDER_API_KEY=your_api_key
PET_FINDER_SECRET=your_api_secret

Running the Service

Start the Encore backend:

encore run

The API should now be available at http://localhost:4000.

Running Tests

Run tests using Vitest via Encore:

encore test

API Endpoints

Method Endpoint Description
GET /pets Retrieve a list of pets
POST /search Search pets by criteria

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0