Bookmark allows you to add photos (from http://flickr.com) and videos (from http://vimeo.com) as favorites. After adding a bookmark, you can see some basic information like the title, the creation date, the author, etc. The bookmarks can be rearranged via dragging and dropping or deleted. When clicking on the title or the thumbnail of a bookmark, a pop-up window will appear to play the video or display the image.
-
Fork this repo and clone a copy on your local machine.
-
Install the dependencies: run
npm ifrom the bookmarks folder. -
Start the app: run
npm startfrom the bookmarks folder to run the app in a development mode.
To run the tests: run npm testfrom the bookmarks folder.
Three test suites (unit tests) have been created to test 3 components:
- DeleteButton.tsx
- Bookmark.tsx
- UrlSearch.tsx