Giter VIP home page Giter VIP logo

sparkrentals-mobile-app's Introduction

Mobile app for SparkRentals Project

Content

About

This project is created by 4 students who attend Blekinge Institute of Technology in web programming. We were given the task of creating a system for a scooter company where we would, among other things, create a mobile-adapted web app for the customer, administrative web interface, a simulation program for the electric scooters, an intelligence program in the bicycle and a Rest API that distributes and retrieves information from the entire system and stores the information on a database.

The entire project is available at: https://github.com/FalkenDev/V-Team-SparkRentals

Background

The mobile app will allow customers to rent electric scooters. Customers may need to log in or register before they can access the service. The app presents a map with all available scooters mapped by their position. In order to be able to rent an electric scooter, the customer needs to deposit money by inserting a prepaid card with a code that contains money to top up their balance. To start a trip with a bicycle, the QR code is scanned or the bicycle is selected on the map. The app also maps all the different parking zones so the user knows where it is best to park the electric scooter after the trip and where the customer is not allowed to park their scooter anywhere.

The app will be built with React Native and retrieve data from our REST API.

Mobile App Design

Download

Required environment variables

.env:

# Rest API
API_KEY='Your API KEY'

types/env.d.ts

declare module '@env' {
export const API_KEY: 'Your API KEY'
export const REST_API: 'http://localhost:8393/v1'
}

Run it localy

  • Fork the project / donwload the project.

npm install --legacy-peer-deps

  • Create .env and types/env.d.ts file and insert the environment variables and change the inputs.

expo start --tunnel

Run it on Docker

OPS! Don't forget to send your env files in docker run command

docker run -it oscaridberg/spark-rentals-mobile-app:latest

Usage

To use the Mobile app you need to scan the qr code or enter the link in the mobile (Need to have the expo app). The link can be found in the terminal when running the mobile app.

License and Tools

NPM Expo ESLint Docker TypeScript React Native

Scrutinizer Code Quality Build Status

sparkrentals-mobile-app's People

Contributors

falkendev avatar jolpango avatar oscaridberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.