Skip to content

charliepaull/RESTAPI-caseStudy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Books REST API

How to Run the API locally:

I've created a guest account with read/write access to the database on Atlas. You will be able to authenticate using the guest username and password, then run each CRUD operation as intended.

Credentials:
guestUsername: `guest1`
guestPassword: `Peanuts1` (case sensitive)
Cluster URI: `mongodb+srv://<guestUsername>:<guestPassword>@cluster02994.arjrwut.mongodb.net/?retryWrites=true&w=majority&appName=Cluster02994`

Add a .env file to your local repo and add a variable DB_URI, and set it equal to the parsed URI above using the guestUsername and guestPassword.

Run npm install to get the dependencies.

About

this was a case study for a potential employer but I am now going to build it out as my own and make it even more awesome, and have new features. Whoopie!!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors