https://github.com/adityachandra1/backend-assign-pp
Author and Books API
https://github.com/adityachandra1/backend-assign-pp
express fakerjs jwt-authentication mongodb nodejs
Last synced: 3 months ago
JSON representation
Author and Books API
- Host: GitHub
- URL: https://github.com/adityachandra1/backend-assign-pp
- Owner: adityachandra1
- Created: 2022-11-10T13:18:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-13T04:33:28.000Z (over 3 years ago)
- Last Synced: 2025-06-21T17:44:11.388Z (about 1 year ago)
- Topics: express, fakerjs, jwt-authentication, mongodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backend Assignment: Pet Perfect
## Server Architecture

[Link](https://www.figma.com/file/V6qLFgx7Se0nUywb6GNXhU/Server-Architecture?node-id=0%3A1)
## Postman Docs
https://documenter.getpostman.com/view/17495243/2s8YesqBkC
## Run the API
- Create a new cluster in MongoDB and paste its link the example_env file provided.
- Rename example_env to .env
- Now, run the api with the given commands
```
npm install
npm start
```
- 10 random authors and multiple book entries for each author will automatically be created whenever the server starts/restarts. (Using Faker.js)
- Default password for the randomly generated accounts is "password".