Skip to content

django app to submit and vote on websites different categories

Notifications You must be signed in to change notification settings

mosesbabu/awards

Repository files navigation

Awards

This python/django web-app was created as a clone of the website 'Awwwards'. By: Moses Babu

Description

This web-app allows a user to create a Profile,Category,Country,Technology,Color and Projects that are all under his username allowing other users to vote for them and visit the particular projects site.

Setup/Installation Requirements

Known Bugs

  • Elements re-arrange themselves unequally on different screen sizes.
  • Cards disarrange themselves when they're not four in a row.
  • Submit button moves to the side when a user with a long username logs in.

Behaviour Driven Development

  • The program should return all projects on the directories page
    Given:All projects
    When: Url is changed to directory page
    Then: All projects are displayed

  • Program should show the project with the highest number of votes on the caraousel on the home page
    Given:A Project with the highest votes
    When: Home page is accessed
    Then: Project with highest votes is displayed.

  • Admin site should be displayed when "admin/" url is chosen
    Given: An admin url
    When: User enters admin url in browser
    Then: Admin Login is displayed

  • User authentication occurs when Admin tries to Login
    Given:Admin page is accessed
    When: User tries to login
    Then: User details are authenticated to confirm if user is an admin

  • User session should end when logout url is chosen
    Given:Logout option is given
    When: User chooses logout option
    Then: User session is ended

Technologies Used

  • Git and Github were used as my local and online repositories respectively.
  • python Django was used as the framework of choice
  • Heroku was used as the host of the live site
  • Postman was used in testing the API

Support and contact details

  • Contact me through my email: mosesarara@gmail.com
  • The source code is also contained within the folder containing this ReadMe with comments on the code thus third-party support can be offered.

License

Copyright (c)2020 Awards by Moses babu

Releases

No releases published

Packages

No packages published