Git Product home page Git Product logo

unitify's Introduction

expo sdk

Unitify

Forums Expo SDK version License: MIT GitHub last commit

View Demo | Offical Website | Report Bug | Request Feature


In response to the pandemic, Covid-19 caused a huge spike in bicycle sales. Because of increased concern about public transit and a need for physical activity, an increasing number of people are opting for one of the most basic modes of transportation, resulting in a so-called "bike boom.” Along with the increase in cycling came a huge drop in greenhouse gas emissions, which plunged to 4.6 percent in 2020. However, when the Covid-19 limitations were lifted and people returned to in-person school and work, bike use has declined, leading in an increase in automobile usage. What was thought to be a permanent decrease in emissions was nothing a blip, with global greenhouse gas emissions rising above pre-pandemic levels in 2021 and onwards. Zero emission vehicles are expensive and not accessible for everyone. Thus, it is necessary to generate a solution to which everybody in the world could contribute.

Unitify is an App run on Android and IOS. We hope it could encourage people use cycling as their main public transit mode therefore preventing greenshouse gas emissions.

Project Layout

  • frontend All the source code for Unifity App modules. Make sure you follow the software builds instruction below before you run it with Expo Go.
  • backend This is where you can find our data scheme on MongoDB and APIs for connecting from Unitify App to backend.

Software Builds

frontend

  1. You should run all command below under frontend.

    cd frontend
  2. Follow Expo Installation Guide to install all required tools on your development environment.

  3. Install all dependencies.

    • expo-cli
      npx expo install
    • or npm
      npm install
    • or yarn
      yarn install
  4. Configure your expo app.

  5. Build your project locally.

    • expo-cli
      npx expo start
    • or npm
      npm start
    • or yarn
      yarn start
  6. Open your project on Expo Go (Android/IOS).

backend

  1. Set up environment.

    • Ubuntu 20.04
    • MongoDB 5.0.9
    • Nginx 1.18.0
    • Redis 5.0.7
  2. Installation instructions.

    1. Clone the repo. git clone https://github.com/VictorS67/unitify.git

    2. Switch to the backend branch (for the latest version of backend, or you can get the stable version in the main branch). git checkout backend

    3. Install all the necsessary node libraries and dependencies. npm install

    4. Now, you need to set up the necessary environments: Run this code first to copy from the .env template: cp .env-sample .env

      MONGODB_URI=YOUR_MONGODB_CONNECTION_STRING
      SIGNATURE_CHAR_LIMIT=THE_CHAMPION_SIGNATURE_LENGTH_LIMIT
      CHECK_CHAMPION_CRON=CRON_FREQUENCY_OF_CHECKING_CHAMPION
      UPDATE_RANKS_CRON=CRON_FREQUENCY_OF_UPDATING_LEARERBOARDT
      PORT=PORT_THE_BACKEND_IS_RUNNING
      
  3. Run the backend server.

    • Now, after the above steps, you can run the backend: node unitify-server.js

    • And you can verify by running: localhost:PORT/hello-world

    • You should be able to see the following output in your browser: Congratulations, the Unitify backend is now running.

  4. Production Builds.

The Team

Here are our team members!

License

The Unitify source code is made available under the MIT license. Some of the dependencies are licensed differently, please check them on Expo, react-native-maps, react-native-google-places-autocomplete, react-native-paper, react-navigation.

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.