Skip to content

sbasken/phase-3-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

REVIEWER APP

Description

This is a CLI application for students and teachers to give reviews.

We have three models: Student, Teacher, and Review.

  • A Student has many Reviews. A Teacher has many Reviews. A Review belongs to a Student and a Teacher.

  • Student - Teacher is a many to many relationship.

  • Both Students and Teachers alike have the opportunity to leave a review about programs that they are in or teach.

  • Students can see, edit, delete their own Reviews.

  • Teachers can see all Reviews, filter them by 'program' or see, edit, and delete their own Reviews.

  • In the Review class:

  • you can pull and see the reviews that were made with date/time upon when the review was made.

Instructions

Clone the repository to your local machine:

  $ git clone https://github.com/{your-username}/phase-3-project.git

Navigate to the project directory:

  $ cd phase-3-project

Install the required packages:

  $ pipenv install && pipenv shell

Navigate to the db directory:

  $ cd lib/db

You can then open 'review.db' with SQLITE. Now you should be able to see the populated database files.

** If it doesn't work, try one of these or both: **

To create the review.db file and navigate the SQLite tables in your code editor, enter:

  $ alembic upgrade head

Next, run:

  $ python db/seed.py

Navigate back to the lib directory:

   $ cd ..

Run the program using:

  $ python cli.py

Password for students: password password for teachers: flatsteel school

Have fun! Make sure to leave a review! 🐣 🥳

WIREFRAME

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published