Skip to content

📚 App using Ionic with React to store a list of projects.

License

Notifications You must be signed in to change notification settings

AndrewJBateman/ionic-react-planning

Repository files navigation

⚡ Ionic React Planning

  • App using Ionic with React to store a list of projects.
  • Note: to open web links in a new window use: ctrl+click on link

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

📄 Table of contents

📚 General info

  • List of projects from dropdown list of javascript frameworks

📷 Screenshots

Example screenshot

📶 Technologies

💾 Setup * Development

  • Install dependencies using npm i
  • Run ionic serve to open the dev server at http://localhost:8100/

💾 Setup * Build, Android Studio

  • Run ionic build to create build files
  • If you don't have it already then Install Android Studio (on Windows 10 in my case * see 'Inspiration' for helpful video)
  • Connect mobile device to Android Studio via USB. To go into dev mode on Realme 5 Pro mobile phone connected via USB to Android: Go to 'About Phone'/'Version Baseband & Kernal' in phone settings then click 7 times on 'Version' and enter phone access code. Go to Settings/Additional Settings/Developer options and enable 'USB debugging'

💻 Code Examples

  • pages/AllProjects.tsx Ion grid to show list of projects
<IonGrid>
 {projectsCtxt.projects.map((project) => (
       <IonRow key={project.id}>
        <IonCol className="ion-text-center">
         <IonCard>
          <img src={project.imageUrl} alt="Project" />
          <IonCardHeader>
           {/* <IonCardTitle>{project.time}</IonCardTitle> */}
           <IonCardTitle>{project.title}</IonCardTitle>
          </IonCardHeader>
          <IonCardContent>
           <p>{project.description}</p>
           <IonItem lines="none">
            {!project.isFinished ? (
             <IonRow className={classes.CenterElement}>
              <IonButton color="warning">
               <IonIcon icon={pencil} />
              </IonButton>
              <IonButton
               onClick={() => openFinishedModal(project)}
              >
               <IonIcon icon={checkmarkOutline} />
              </IonButton>
             </IonRow>
            ) : (
             <IonIcon
              color="success"
              className={classes.CenterElement}
              icon={checkmarkOutline}
             />
            )}
           </IonItem>
          </IonCardContent>
         </IonCard>
        </IonCol>
       </IonRow>
  ))}
</IonGrid>

🆒 Features

📋 Status & To Do List

  • Status: Working. Do not update dependencies.
  • To-Do: Improve side menu - add pages?, change project complete button add more project types, change time to createdAt in footer? Add backend storage.

👏 Inspiration

None

📁 License

  • This project is licensed under the terms of the MIT license.

✉️ Contact

About

📚 App using Ionic with React to store a list of projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published