Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Climbing routes api - Zoe #535

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# Project Express API

Replace this readme with your own information about your project.

Start by briefly describing the assignment in a sentence or two. Keep it short and to the point.
This project is a simple backend API built with Express that returns data from a hard-coded JSON file. It includes RESTful endpoints to fetch a collection of items, filter data using query parameters and retrieve individual items by ID.

## The problem

Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next?
I approached the project by first setting up a basic Express server, using middleware like `cors` for cross-origin access and `nodemon` for development. The data is filtered and manipulated using JavaScript array methods like `.find()` and `.filter()`. The API documentation is dynamically generated with express-list-endpoints.

## View it live

Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about.
https://project-express-api-mqhs.onrender.com/

Climbing Routes
https://project-express-api-mqhs.onrender.com/climbingRoutes

Climbing Routes - type
https://project-express-api-mqhs.onrender.com/climbingRoutes/type?type=sport

Climbing Routes - difficulty
https://project-express-api-mqhs.onrender.com/climbingRoutes/difficulty?difficulty=high
Loading