Giter Site home page Giter Site logo

shengdade / comment.mobi Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 8.7 MB

A React app that reviews restaurants. It leverages the AWS Amplify framework for deploying and hosting a full-stack serverless web application. It uses various AWS services, e.g., Amazon Cognito for authentication, AWS S3 to store images, AWS AppSync for GraphQL, Amazon DynamoDB to store data, and AWS Lambda for running code.

Home Page: https://www.comment.mobi/

JavaScript 97.15% HTML 1.55% TypeScript 1.30%
aws react

comment.mobi's Introduction

Website

https://www.comment.mobi/

Test User:

Permission

Restaurant

role create read update delete
User x x x
Owner x x
Admin x

Review

role create read update delete
User x x
Owner x x x
Admin x

Features

Serverless Architecture

Responsive UI

End-to-end Testing

Test Results can be found on Cypress Dashboard - https://dashboard.cypress.io/projects/2n4con/

Continuous Deployment

Requirements

Write an application to Review Restaurants

  • User must be able to create an account and log in. (If a mobile application, this means that more users can use the app from the same phone).
  • Implement 3 roles with different permission levels
    • Regular User: Can rate and leave a comment for a restaurant
    • Owner: Can create restaurants and reply comments about owned restaurants
    • Admin: Can edit/delete all users, restaurants, comments, and reviews
  • Reviews should have:
    • A 5 star based rate
    • Date of the visit
    • Comment
  • When a Regular User logs in he will see a Restaurant List ordered by Rate Average
  • When an Owner logs in he will see a Restaurant List only the ones owned by him, and the reviews pending to reply
  • Owners can reply the review once
  • Restaurants detailed view should have:
    • The overall average rating
    • The highest rated review
    • The lowest rated review
    • Last reviews with rate, comment, and reply
  • Restaurant List can be filtered by Rating
  • REST API. Make it possible to perform all user actions via the API, including authentication (If a mobile application and you don’t know how to create your own backend you can use Firebase.com or similar services to create the API).
  • In any case, you should be able to explain how a REST API works and demonstrate that by creating functional tests that use the REST Layer directly. Please be prepared to use REST clients like Postman, cURL, etc. for this purpose.
  • If it’s a web application, it must be a single-page application. All actions need to be done client side using AJAX, refreshing the page is not acceptable. (If a mobile application, disregard this).
  • Functional UI/UX design is needed. You are not required to create a unique design, however, do follow best practices to make the project as functional as possible.
  • Bonus: unit and e2e tests.

comment.mobi's People

Stargazers

Vince Fulco--Bighire.tools avatar Minions avatar

Watchers

James Cloos avatar Dade 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.