Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sjdonado/assessment-2-backend-un-202130
DSLLO APLICACIONES WEB BACKEND - Universidad del Norte, Colombia
https://github.com/sjdonado/assessment-2-backend-un-202130
http-server nodejs puppeteer
Last synced: about 4 hours ago
JSON representation
DSLLO APLICACIONES WEB BACKEND - Universidad del Norte, Colombia
- Host: GitHub
- URL: https://github.com/sjdonado/assessment-2-backend-un-202130
- Owner: sjdonado
- License: gpl-3.0
- Created: 2021-08-17T11:37:02.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-17T14:36:30.000Z (about 3 years ago)
- Last Synced: 2023-03-11T14:57:14.056Z (over 1 year ago)
- Topics: http-server, nodejs, puppeteer
- Language: JavaScript
- Homepage:
- Size: 112 KB
- Stars: 1
- Watchers: 2
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Template] Royal Films scraper
Fork this project and modify the `./src/*` files in order to complete your assessment.
**IMPORTANT: don't modify the `./tests` or `.github` folder, otherwise your PR will not be reviewed**
Good luck!
## Setup azure VM
```bash
sudo apt-get install -y gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm-devnpm install
```## Run in development (hot reload)
```bash
npm run dev
```## Responses shapes
- 200
```js
{
data: {
pageTitle: string,
allMoviesDetails: [
{
originalTitle: string,
title: string,
synopsis: string,
starred: string,
director: string,
posterPhoto: string,
trailer: string,
},
...
]
}
}
```
- 404
```js
{
data: null,
err: string,
}
```