https://github.com/kortrk/library
A full-stack library website.
https://github.com/kortrk/library
angular backend frontend postgresql ruby ruby-on-rails typescript
Last synced: 3 months ago
JSON representation
A full-stack library website.
- Host: GitHub
- URL: https://github.com/kortrk/library
- Owner: kortrk
- Created: 2024-05-24T15:31:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-17T20:55:32.000Z (9 months ago)
- Last Synced: 2025-01-16T00:14:45.685Z (5 months ago)
- Topics: angular, backend, frontend, postgresql, ruby, ruby-on-rails, typescript
- Language: TypeScript
- Homepage: http://kortrk.github.io/library-gh-pages
- Size: 64.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Library
A single-page app using Angular, Ruby on Rails, and PostgreSQL.
## Static Live Demo
[Check out a static live demo of the frontend here!](https://kortrk.github.io/library-gh-pages)([v1.0.0](https://kortrk.github.io/library-gh-pages) is the old code it was built with)
## Video
[Quick Overview](https://www.youtube.com/watch?v=F46VmbSAUU8)## How to Run
- Start Docker Desktop on your machine.
- `git clone` this project and go to its top level (same place as this README)
- `./build_env.sh` (takes about 3 minutes)
- `./run_env.sh`
- Access localhost:4200 on your browser## Notable Features
- To give the librarian more control, I built a "visible" flag that can be checked or unchecked to temporarily hide a book from customers. For example, a librarian can start creating a new book but hide it until it's physically in the building and ready to borrow.
- For demo purposes, you can click Go on an empty search and get all the books.
- This is a trick to help you see how it works, but wouldn't be a feasible thing to do with a real library website.
- JSON Web Tokens are the core of the authorization and authentication process. They are stored in HttpOnly cookies.