Skip to content

bruhsoftware/libruh

Repository files navigation

Libruh

Roadmap

  • Login/Landing
    • Login.tsx
      • LandingPage.tsx
      • SelectRegister.tsx
      • SynergiaLogin.tsx
      • SynergiaLoginEasterEgg.tsx
  • Main UI
    • Main.tsx
      • Home.tsx
      • Grades.tsx
      • Attendance.tsx
      • Timetable.tsx
      • Messages.tsx
      • Homework.tsx
      • Other
        • Annoucements.tsx
        • Settings.tsx
  • Misc UI
    • Settings
      • HomeSettings.tsx
      • GradeSettings.tsx
      • AttendanceSettings.tsx
      • TimetableSettings.tsx
      • MessageSettings.tsx
      • HomeworkSettings.tsx
    • About Libruh
      • AboutApp.tsx
      • Acknowledgements.tsx
      • Authors.tsx
      • VersionsModal.tsx
      • Changelog.tsx
        • Pulling Changelog from GitLab
  • Synergia API
    • Logging in and storing token
    • Checking user's school data
    • Pulling the Timetable
      • Current week
      • Select period
    • Pulling the Grades
      • Semester 1
      • Semester 2
    • Pulling the Attendance
      • Semester 1
      • Semester 2
      • Overall
    • Messages
      • Pulling the Messages
      • Mark as read/unread
      • Sending messages
        • if possible, bypass "Mobilne Dodatki" requirement
    • Homework
      • Pulling the Homework
      • Mark as read/unread
      • Sending in Homework
    • Annoucements

Getting Started

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Start the Expo server

First, you will need to start Expo.

To start expo, run the following command from the root of your React Native project:

# using npm
npm run start

Then, when open, switch to Expo Go mode for testing the App.

Step 2: Start your Application

Let Expo run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

For Android

# using npm
npm run android

For iOS

# using npm
npm run ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.