Bookmark app uses the GITHUB API for searching the repositories and bookmaring them. The app doesn't have DB, it stores the bookmarks into the text file on server.
app requires Node.js v8+ to run.
Install the dependencies and devDependencies and start the server.
$ cd client
$ npm install
$ npm start
Open http://localhost:3000 to view it in the browser.
The repositories are fetched from the GIHUB API according to user input. The bookmarks are saved into the file server/db/data.txt
Install the dependencies and devDependencies and start the server.
$ cd server
$ npm install
$ npm start
API | URL |
---|---|
Search repositories | /repositories/:repo |
Bookmark repository | /repositories/bookmark/:id/save |
Fetch Bookmarks | /repositories/bookmark/all |
Remove Bookmark | /repositories/bookmark/:id/remove |