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

Bookshop-API #498

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
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