cs162-lit-books's People
Forkers
weiting109cs162-lit-books's Issues
Transfer of book ownership
- When someone clicks on I received this book on bookpage, a transaction should be initiated:
--- Current_Owner of the book should be updated
--- Book transaction listing date of transaction and new owner
Redundant imported modules and incorrect model declaration in create_db.py
create_db.py has a lot of redundant libraries, and model declaration uses Column, Text, String, etc. from SQLAlchemy rather than db.Column, db.Text, etc. from Flask-SQLAlchemy module.
Refer to on model declaration using Flask-SQLAlchemy SQLAlchemy instance: https://flask-sqlalchemy.palletsprojects.com/en/2.x/models/
Toggle CTA in index.html based on logged in or out
- Currently, there are two different buttons to be displayed at the end of index.html
--- Login/signup now if the user is not yet logged in (refer to index_signed_in.html)
--- Go to My Page if the user is logged in (refer to index.html) - Toggle CTA in index.html according to logged in or not
- Delete index_signed_in.html
Deployment via Heroku
Search for a specific book by ID
Via User Profile page
Add BookOwnership table to record transfers of book ownership
KIV
Empty profile page when new book is added
- When a new book is added, it shouldn't have letters on the page.
Adapt routes between booksearch/index
No more sole booksearch page
Create template base.html to contain all Navbar, Footer
I'm suggesting a template base.html to contain the base design (navigation bar, footer) of all templates. This way, we will not have to change the navbar and URLs page-by-page. #separationofconcerns!
Refer to 'The Base Layout' on Flask's Templates component of its tutorial
Please leave a comment if you're working on this, if not I will get to it when I have the chance.
Add existing book via user profile
@minhmo1620 has already created a function for this; you can use the function and connect back-end and front-end. After adding an existing book (by ID):
- Update current_owner of specific book
- Create a new book transaction in BookTransactions with date, a latest user
It should display on the profile. And the user should be redirected to the specific book page
Travis continuous integration
@minhmo1620, want to leave some notes here on this issue? We can revisit it later. Cheers!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.