GithubHelp home page GithubHelp logo

acwio / eb-intern Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.08 MB

A simple, concise interface for browsing Eventbrite events using the Eventbrite API.

Python 66.10% JavaScript 10.04% HTML 22.26% CSS 1.61%

eb-intern's Introduction

Eventbrite: SimpleSearch

Eventbrite: SimpleSearch is a simple, concise interface for quickly searching through Eventbrite's event listing using the Eventbrite API.

Quick Start

To start the project, navigate to the project directory and run python manage.py runserver.

Browsing: Categories

To use the SimpleSearch, a user should select 3 categories from the dropdown menus on the homepage of the application and click 'Search'. A user must select 3 categories in order for the search to take place. Additionally, each category should be unique and should be a valid category. Automated validation has been implemented on both the front- and back-end of this application to ensure a user has an error-free experience.

Browsing: All Events

In addition to browsing by category, a user may browse all events. To use this feature, a user should click "Browse all events" at the bottom of the homepage or the results page.

UnitTests

UnitTests have been implemented for every possible scenario of acceptable and unacceptable input. To run this project's tests, navigate to the project directory and run: python manage.py tests

List of Unit Tests

  1. Validate request to Homepage / Index View
  • Expected Behavior: Render homepage.
  1. Validate request to /events/ without selected categories.
  • Expected Behavior: Render paginated listing of all events.
  1. Validate request to /events/ without selected categories and a specific page number.
  • Expected Behavior: Render specified page of listing of all events.
  1. Validate request to /events/ without selected categories and a page number that is out of range.
  • Expected Behavior: Render last page of listing of all events.
  1. Validate request to /events/ without selected categories and a page number that is not a number.
  • Expected Behavior: Render first page of listing of all events.
  1. Validate request to /events/ with three valid categories.
  • Expected Behavior: Render paginated and filtered listing of all events. (HTTP Response 200)
  1. Validate request to /events/ with three valid categories. and a specific page number.
  • Expected Behavior: Render specified page of listing of filtered events.
  1. Validate request to /events/ with three valid categories. and a page number that is out of range.
  • Expected Behavior: Render last page of listing of filtered events.
  1. Validate request to /events/ with three valid categories. and a page number that is not a number.
  • Expected Behavior: Render first page of listing of filtered events.
  1. Validate request /events/ with only two valid categories.
  • Expected Behavior: Render homepage / index with relevant error.
  1. Validate request to /events/ with three valid categories, two of which are the same category.
  • Expected Behavior: Render homepage / index with relevant error.
  1. Validate request to /events/ with three categories, one of which is invalid.
  • Expected Behavior: Render homepage / index with relevant error.

Author

Alex C. Williams (https://github.com/csalexwilliams/)

eb-intern's People

Contributors

acwio avatar

Watchers

 avatar  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.