Coder Social home page Coder Social logo

feup-ldso's Introduction

Acontece na UPorto - Cultural Agenda of University of Porto

University of Porto's cultural agenda. It will contain all the events of all the faculties and cultural organizations related to UPorto, for ease of access to such information, as well as an event management for organizations

Getting Started

These instructions will show you how to install the project

Prerequisites

You will need:

1st time Configuration

  • Replace apiKey and certificateHash in mobile/app.json with your Google API Key and SHA-1 Certificate Fingerprint
  • Run docker-compose build in the root of the project, to setup the app and the web modules.
  • Run npm install in the mobile folder.

Running for development

  1. Run docker-compose up in the root of the project
  2. In the file mobile/global.js, change the presented IP to your machine's wifi IP.
  3. Run expo start. Inside the terminal, there should be a QRCode to be read via the Expo App. 3.1. You can also access more information in indicated localhost IP.

Running with an Android Emulator

If you're using an Android emulator, such as the NoxPlayer Emulator:

  1. Connect the device with the adb connect command (for example, adb connect 127.0.0.1:62001) and run the emulator.
  2. Run expo start and, in the indicated localhost IP, select Run on Android device/emulator.

Running the tests

To run the tests:

  • Inside the api folder, run command npm test
  • Inside the _web__folder, run command npm test
  • Inside the _mobile_folder, run command npm test -- -u

Running Linter

To run lint, run command npm run lint.

Test Examples

  • /GET List Events App - It tests the return of all events on the app, listing them by order of the attribute start_date
  • /POST Add Event - It tests the addition of an event to the database

Built with

  • React-Native - The Android Framework

Servers

  • Staging:
    • Web - 188.166.95.23:3000
    • API - 188.166.95.23:3030
  • Production:
    • Web - 188.166.41.239:3000
    • API - 188.166.41.239:3030

Mobile app APK

  • You can download the APK to install the app here: APK

API Documentation

To access the documentation of the API:

  • Staging:
    • 188.166.95.23:3030/docs
  • Production:
    • 188.166.41.239:3030/docs

Authors

feup-ldso's People

Contributors

lastlombax avatar leonardomgt avatar rendoir avatar shinuzikyura avatar therealdelay avatar tiagolindo avatar

Watchers

 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.