Skip to content

Mobile app for MyCargonaut, built with React Native, enabling users to manage ride and freight-sharing on-the-go.

License

Notifications You must be signed in to change notification settings

BatatiDE/mycargonaut-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

MyCargonaut Mobile App

This is the mobile application codebase for MyCargonaut, a ride-sharing and freight-sharing service that connects users for efficient and cost-effective transportation solutions. Built using React Native, this app is designed to deliver a seamless experience across Android and iOS devices.


Table of Contents


Features

  • User authentication (Login/Register) with JWT.
  • Create and manage offers and requests on the go.
  • Real-time shipment tracking with map integration.
  • Search functionality with filters and sorting.
  • Push notifications for updates and messages.
  • User reviews and rating system.

Tech Stack

  • Framework: React Native
  • Navigation: React Navigation
  • State Management: Context API / Redux (if applicable)
  • Backend Communication: REST and GraphQL
  • Push Notifications: Firebase or OneSignal (if applicable)

Installation

  1. Clone the repository:

    git clone https://github.com/BatatiDE/mycargonaut-mobile.git
    cd mycargonaut-mobile
  2. Install dependencies:

    npm install
  3. Setup environment variables: Create a .env file in the root directory and add the necessary environment variables (see Environment Variables).

  4. Install native dependencies (iOS only):

    npx pod-install

Running Locally

  1. Start the Metro bundler:

    npm start
  2. Run on Android:

    npm run android
  3. Run on iOS:

    npm run ios

Folder Structure

.
├── assets/              # Static assets (e.g., images, icons)
├── src/
│   ├── components/      # Reusable components
│   ├── navigation/      # React Navigation configurations
│   ├── screens/         # Screens for the app
│   ├── utils/           # Helper functions and utilities
│   ├── context/         # Context for managing global state
│   ├── types/           # TypeScript type definitions
├── .eslintrc.json       # ESLint configuration
├── .prettierrc          # Prettier configuration
├── package.json         # Dependencies and scripts
└── README.md            # Project documentation

Environment Variables

The app requires the following environment variables:

Variable Description
API_URL Base URL for the backend API
MAP_API_KEY API key for map services (Google Maps, etc.)
FIREBASE_CONFIG Firebase configuration for push notifications

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a feature branch:
    git checkout -b feature/your-feature
  3. Commit your changes:
    git commit -m "feat: Add your feature"
  4. Push to your branch:
    git push origin feature/your-feature
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Mobile app for MyCargonaut, built with React Native, enabling users to manage ride and freight-sharing on-the-go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published