Git Product home page Git Product logo

phase3-wk2-challenge's Introduction

Restaurant Review System

Introduction

This repo contains code for a restaurant review system for Phase 3 Week 2 Code Challenge based on python classes and instances, class and instance methods, variable scope, object relationships, and lists and list methods working with a Yelp-style domain.

This project utilizes the pytest library for testing purposes. The pytest framework makes it easy to write small, readable tests, and can scale to support complex functional testing for applications and libraries.

The test suite encompases all deliverables for this code challenge. All tests should be passing.

Table of Contents

Technologies used

python version pytest version

Installation

1. Clone the repository

git clone https://github.com/JOY19ANYANGO/phase3-wk2-challenge.git

2. Navigate to the project's directory

cd phase3-wk2-challenge

3. Install all the required dependencies

The root directory of this repository contains the Pipfile with all the required Python libraries for this project and restricts them to this repository.

To install pytest and any other required libraries, run:

pipenv install

4. Enter the pipenv shell

pipenv shell

5. Use pytest to run the test suite

 pytest restaurants/test.py 

Usage

You can use the Restaurant Review System to simulate interactions between customers, restaurants, and reviews. Follow these steps to get started: Do this in main.py file

  1. Create customer and restaurant instances.
  2. Add reviews using the add_review method.
  3. Retrieve information about customers, restaurants, and reviews using the provided methods.
  4. Run python3 main.py in your terminal to see the output

Author & License

Authored by Joy Anyango.

Licensed under the MIT

phase3-wk2-challenge's People

Contributors

joy19anyango avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.