Git Product home page Git Product logo

game-release-search's Introduction

Description

Video game release search and management

Features

  • The user can create a new account, which can then be used to sign in to the application
  • The user will be able to see a list of all available platforms
  • By selecting a platform the user will be able to preview all upcoming video game releases on that platform
  • The user can view additional information about the game (release date, synopsis, etc.)
  • The user can rate the selected video game based on their level of interest
  • The user can see a list of video games they have previously rated
  • The administrator can edit, add, and remove platforms and / or games
  • The administrator can see a list of all video game ratings
  • The administrator can delete video game ratings

Current state, testing the application and future

All planned features are working. If you want to test admin features, you can use the following account:

Username Password
admin admin

Currently the application can only be ran locally due to Heroku no longer offering free hosting service for PostgreSQL database. I'm looking for a replacement host.

Plans for the future:

  • Better UI
  • Small icons for games
  • More descriptive error handling / confirmation messages
  • Dynamic pop-ups instead of flash messaging (much nicer)

Running the application locally

  1. Install and run PostgreSQL database.
  2. Clone the repository

Create the following .env file:

DATABASE_URL=database location
SECRET_KEY=secure key

Setup and run venv virtual environment:

python3 -m venv venv
source venv/bin/activate

Install requirements:

pip install -r requirements.txt

Create database tables:

psql < schema/schema.sql

And finally to run the application:

flask --app app.py run

game-release-search's People

Contributors

smannist avatar

Watchers

 avatar

game-release-search's Issues

tsoha

Toivottavasti tulee oikeaan paikkaan

Vaikuttaa todella hyvältä
-sovellus toimii Herokussa, ulkoasu on kiva, kaikki relevantti löytyy helposti, readmessa kuvaillut toiminnot toimivat
-koodi on jaettu järkevästi eri tiedostoihin, commitit vaikuttavat hyviltä, .env yms. ei ole lisätty githubiin
-koodi on yleisestikin siistiä

Vaikea keksiä mitään kriittistä. Mietin aluksi, että joissain paikoissa on rajoitteita sallituille merkeille salasanassa, mutta kävin tarkastamassa pari sivustoa eikä niitä ollutkaan.

Lopuksi vielä kiitos, olin unohtanut SQLn unique-ominaisuuden, pitää ottaa itsekkin käyttöön

Vertaisarviointi

Vertaisarviointi

Käytettävyys

Sovellus toimii hyvin ja käyttöliittymä on selkeä. Jostain syystä eivät rekisteröidy ja kirjaudu linkit näy mobiilissa. Tämä on toki sivuseikka eikä kurssin kannalta oleellista.
Readme:ssa kuvatut toiminnot toimivat niin kuin olettaisi. Olisi kiva jos arviointinäkymässä näkisi minkä arvosanan pelille on itse antanut, jolloin on myös selkeätä käyttäjälle että hän on arvioinut pelin. Tämän voi toki käydä tarkistamassa "omilta" sivuilta mutta aiheuttaa turhaa klikkailua.

Koodi

Koodi ja tiedostorakenne on selkeätä ja helposti luettavissa.

Taulukot ovat myös selkeitä mutta tässä on taulukko ilman nimeä. Tämä korajutuu varmasti kun rooli toiminnot toteutetaan.

SQL kyselyt ovat hyvin toteutettu ja käytetty erilaisia SQL "toimintoja". Mietin pitäisikö "rate_game" funktion kaksi kyselyä eriyttää eikä ajaa molemmat kyselyt aina. Tässä linkki

Käyttäjäsyötettä validoidaan tällä hetkellä vain backendissä. Tämän lisäksi voisi olla hyvä validoida syöte frontendissa html form validoinnin avulla. Näin ei synny turhia kutsuja backendille ja uudelleen "piirtämistä" frontendissa. Mainittakoon että backendista ei kannata ottaa validointia pois

Kokonaisuus

Commitit ovat kuvaavia, readme selkeä ja githubi "siisti". Oli ilo tutustua sovellukseen ja sen rakenteeseen. Jatka hyvää työtä!

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.