Skip to content

brucette/project-express-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1# Project Express API.

The aim of this project is to create an API with RESTful endpoints returning either an array of data or a single item.

The problem

Express is used to create the API and the server is run in Node.js

ENDPOINTS CREATED:

/books - returns all the books with all their data and has two filters, one for author and one for top-rated books:

/books?author=Firstname Lastname  - returns all books by specific author

/books?top=true - returns books with a rating higher than 4.3 

/books/:id - returns a single book according to a specific id entered

With time, I plan to add pagination to limit the number of results shown on a page, as well as implement a frontend part for this project to help visualize how the API could be used.

View it live

Google Cloud Platform is used to deploy the API:

https://project-express-api-eyln4nn5aa-lz.a.run.app/

About

Backend project in which I create my own API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%