Giter Site home page Giter Site logo

luisnmartins / feup-ldso Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrefcruz/feup-ldso

0.0 0.0 0.0 12.42 MB

Mobile app (ReactNative) + Administration web-site (React) for showcasing social-impact projects from U. Porto's Faculties. Backend is in Node.js + Loopback, and everything is Dockerized :whale:

Shell 0.16% JavaScript 86.47% Dockerfile 0.14% TypeScript 9.80% HTML 0.74% CSS 2.69%

feup-ldso's Introduction

ImpactUP

app logo

Social Impact Exhibit - 14 Faculties

The goal of this project is to create a museum-like experience through an exhibit in U.Porto's rectory, which aims to present each one of the 14 faculties of the University. A visitor to U.Porto's rectory can get to know each faculty, its projects and resulting impact in society, as well as future prospects on tomorrow's world by interacting with a tablet. Each faculty has its own user experience and visual aspect.

Although there are somewhat similar apps (e.g. Study UK Exhibitions), where you can get to know a faculty and events it organises, these apps are not tailored for the social impact the faculties' projects have, and cannot be configured to our client's use case.

Screenshots

Team - T3G1

  • André Miguel Ferreira da Cruz - Scrum Master
  • António Cunha Seco Fernandes de Almeida
  • Edgar Filipe Amorim Gomes Carneiro - SPO
  • João Dias Conde Azevedo
  • João Nuno Fonseca Seixas
  • João Paulo Madureira Damas
  • Luís Noites Martins
  • Mariana Lopes da Silva

Mobile App Development Environment Setup

On the mobile directory:

  • Install dependencies: yarn
  • Create a .envfile with an api environment variable with your api's url
  • Run expo expo start
  • Wait for QR code to show up and scan with mobile phone using the Expo app

Running on a Emulator

If you prefer/need to run the app on an emulator, the easiest (and heaviest) way is to install one through Android Studio.

  • Install Android Studio and setup a virtual device
  • Install a sample Expo project on your host machine (not on Docker). For example, create-react-native-app
  • Run the sample app on your emulator with npm run android. This will install the Expo client on your fresh virtual device
  • You should now be able to run any Expo app accessible by your virtual device by copying the app's url to the Search tab

Running tests

On the mobile directory:

  • Run test suites - yarn test
  • Update snapshots - yarn test -u
  • Watch mode (listen to file changes and rerun tests) - yarn test --watch

Web App Development Environment Setup

On the root directory, run docker:

REACT_APP_ENDPOINT=<api_url> docker-compose up --build web-app

Web App Running the Tests

Inside web-app folder, run this commands:

yarn install
yarn jest

Backend/Server Development Environment Setup

On the root directory, run docker:

docker-compose up --build server

Running tests

On the server directory, run:

npm install
npm run test
npm run test:coverage
npm run test:coverage-report

Deployment

Note: the following production and staging deployment urls are broken due to the limited resources available for the project, but are left here for historical reference.

Production

This environment is mapped to the repository's master branch. This environment uses the standard HTTP port: 80

The result of the production server deployment can be observed at http://impactup.westeurope.cloudapp.azure.com:80/api

The result of the production web-app deployment can be observed at http://impactup.westeurope.cloudapp.azure.com:80/

The result of the mobile app deployment can be observed at https://expo.io/@ldsot3g1/impact-up?release-channel=master

Staging

This environment is mapped to the repository's develop branch. It's on the same url as the production environment, but uses the 8080 port instead of the standard 80 port.

The result of the staging server deployment can be observed at http://impactup.westeurope.cloudapp.azure.com:8080/api

The result of the staging web-app deployment can be observed at http://impactup.westeurope.cloudapp.azure.com:8080/

The result of the mobile app deployment can be observed at https://expo.io/@ldsot3g1/impact-up?release-channel=develop

feup-ldso's People

Contributors

andrefcruz avatar cyrilico avatar antonioalmeida avatar luisnmartins avatar marianasilva14 avatar edgaracarneiro avatar j-seixas 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.