Coder Social home page Coder Social logo

denizbt / appdev-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quantitive/spaced-out-application

0.0 0.0 0.0 41.96 MB

Worked as Backend Developer on Spaced Out (initially created for Cornell AppDev's Fall 2022 Hack Challenge)

JavaScript 0.04% Ruby 0.01% C++ 1.03% Python 97.91% C 0.46% Assembly 0.01% PowerShell 0.03% CSS 0.02% Swift 0.48% Batchfile 0.01% Dockerfile 0.01%

appdev-project's Introduction

Spaced Out Application

Spaced Out : Find your space on campus.

Purpose: Display real-time traffic of all students within a certain area of various locations on Cornell's campus including libraries, cafes, and dining halls, by allowing users to add text comments and update how busy each location is (or busyness rating).

Features

User (Account, Profile)

  • User authentication (registering, log-in, log-out)
  • Profile Picture Image suport (User can upload one profile picture which is uploaded to Amazon S3 Storage and persists)
  • Profile View of User with list of favorited locations (currently only functional in the backend)
  • User can delete their account (currently only functional in the backend)

Comments

  • User can Add Comment to Location (text such as "stir fry line at Morrison is short!" or add a busyness rating between 1-5 for the location
  • Users must be within 1 km of a Location in order to add a comment (latitude / longitude of User is given and geopy(+) modules are used in backend to calculate distance from Location)
  • Comments "expire" after 2 hours (expired comments are no longer displayed for accurate information)
  • Busyness rating is also re-calculated to disregard ratings which are older than 2 hours
  • User can delete a given comment (currently only functional on the backend)

Location

  • Pop up screen for each Location shows all (recent) Comments, numerical and qualitative busyness rating, and opening hours of the cafe/library/dining hall

Requirements (Backend)

  • We implemented ~15 routes (more than 1 each of POST, GET, DELETE routes)
  • There are 5 Tables (User, Location, Comment, Position, Asset) with one-to-many relationships between User + Location and Comment, and many-to-many relationship between User and Location for favorites feature (which is functional in the backend).
  • API Specification on Github repo (Backend_API_Specifications.pdf)
  • The app uses Authentication (create account and sign in) and Images (profile picture)

Requirements (iOS Frontend)

  1. We used AutoLayout using NSLayoutConstraint for the front end design
  2. In ViewController, we used two UICollectionView: one for filters and one for the places. Also in DetailViewController, we included a UITableView for posted comments.
  3. We had multiple screens, which we navigate between using push and present. For example, when login authentication is successful, we push the ViewController (our Home Screen).
  4. Many of the features showcased above use network requests to endpoints which are detailed in the API specification.

Screenshots: Simulator Screen Shot - iPhone 14 Pro - 2022-12-02 at 23 23 17

Screen Shot - iPhone 14 Pro - 2022-12-02 at 23 19 45](https://user-images.githubusercontent.com/73197385/205422502-57de645c-9717-4bdd-863f-f43cf6f35ff3.jpeg)

Simulator Screen Shot - iPhone 14 Pro - 2022-12-02 at 23 17 47

![SimulatorSimulator Screen Shot - iPhone 14 Pro - 2022-12-02 at 23 18 01

Simulator Screen Shot - iPhone 14 Pro - 2022-12-02 at 23 19 02

appdev-project's People

Contributors

yta3 avatar youssefahmed04 avatar jnini1988 avatar denizbt avatar quantitive 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.