Skip to content
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
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ 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.

The idea with this project was to get familiar with using a database, to store and retrieve data from it. Then use the data to produce a RESTful API.

## 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 started out by installing and configure needed libraries, such as express-list-endpoints and dotenv. I decided to work with the provided dataset of book reviews, created a mongoose model and defined a book Schema. I went on to create routes for API documentation, displaying all books and finding books by their ID or ISBN. Lastly I decided I wanted query params for sorting books by ascending or descending order, accordning to their average rating.

As a complete beginner, working with backend has been challenging, trying to figure out this new environment. But it has been exiting to dive in to things like seeding a database and creating middlewares. I look forward to taking things further and explore connecting backend and frontend.

## 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-mongo-api-n1xn.onrender.com
Loading