A Flask Project for managing book review and rattings. Following functionalities are offered by this project:
- Registeration by a new user
- Verify account by verify email.
- Reset password when forgot.
- Login and view ratings for existing books.
- Add a new book.
- Add a rating or comment on an existing book.
- Sending Email for registeration and forget password.
- JWT based user authentication and authorization.
- Rest Api Creation.
- Swagger UI.
- Application of SQLAlachemy library with PostgreSQL
Check db folder for database script. To setup db create a postgres database with db name postgres and run ddl.sql file in postgres db. There are three main entities:
- User: stores user information.
- Book: stores boook information.
- UserBook: stores ratings and comments on a book created by any user.
- Clone project
- Import it into pycharm or any python ide/editor.
- Setup postgres database by following above steps for db setup.
- Navigate to the project root folder.
- Run command pip3 -r requirements.txt
- Run command flask routes to check all available routes.
- Run project with flask run command.
