https://github.com/fbiville/bootiful-songs
https://github.com/fbiville/bootiful-songs
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fbiville/bootiful-songs
- Owner: fbiville
- Created: 2018-06-05T15:39:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-29T13:33:55.000Z (over 7 years ago)
- Last Synced: 2025-02-10T07:12:24.809Z (over 1 year ago)
- Language: TypeScript
- Size: 1.21 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bootiful songs
It's gonna be awesome.
One day.
## Getting started
Make sure Maven, Yarn and Nginx are installed.
Then, just run: `./start-all` and browse `http://localhost:8888`.
## Dude, where is my data?
At first, the random video endpoint returns a `204 No Content`, until some videos end up in the database.
Just POST a video (or more!) as follows:
```
$> curl -X POST -H 'Content-Type:application/json' --data '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}' http://localhost:8080/api/videos
```
## End-to-end tests
1. run Nginx (`nginx -c $(pwd)/nginx.conf &`, port will be `8888`)
2. run fake-server (`yarn start-fake-backend` in `interwebz`)
3. run the e2e tests as usual (`yarn e2e` in `interwebz`)