https://dragontalker-library.herokuapp.com/
🔎 MERN
stands for MongDB, Express.js, React.js and Node.js. This MERN application allows user to search books from Google Books api and saved to MongoDB through Express servers. Furthermore, this is a SPA (single page application) where routing between different page is handled by React Router.
- React
- React Hooks
- React Routers
- Express.js
- Node.js
- RESTful Api
- MongoDB
- Mongoose
- Bootstrap 5
- HTML 5
- CSS 3
- JavaScript
- VS Code
- Heroku
🔮 This application includes two features: search and save.
After launching the application, the user will be place in the search page. This search function allows user to find results from Google Books API. The screenshot below shows the search result for keyword typescript
. Each returned results are presented in a card, which contains two functions: view eBook on Google Books, or saved this book to user's personal library.
Clicking on the Saved
link on the top right corner will take user to the saved page. This is user's personal library which contains all the books saved from previous searches. Each book card contains two functions as well: viewing eBook works exactly the same way, while deleting function allows user to remove the unwanted book from their library.
💿 For local installtion, both front-end and back-end need to be installed:
# Install back-end
npm install
# Install front-end
cd client
npm install
After installtion completed, use the following commands to start development:
# Initiate front-end only
npm run client
# Initiate back-end only
npm run watch
# Initiate full-stack using concurrent mode
# React development server is hosted at http://localhost:3000
# Express server is at hosted at http://localhost:8080
npm run dev
🎓 MIT License
Copyright (c) [2021] [Richard Yang]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
👾 Tong (Richard) Yang is a full stack software engineer from Canada, living Toronto Area. If you have any questions, email him at richard.yang.tong@gmail.com or visit his GitHub.