---
updatedAt: 2025-07-15T08:37:39.000Z
agentTools:
  projectIndex: https://docs.appery.io/llms.txt
---

# Ionic Login Sample App

**Login form** sample app built with Ionic

# Introduction

This sample app provides step-by-step instructions that will walk you through the process of creating a **Login form** in an Ionic project that will validate user credentials stored in the [Appery.io database](https://docs.appery.io/docs/database-overview). In the [first](https://docs.appery.io/docs/building-ionic-5-login-sample-app-part-1) part, we will create the app UI, and in the [second](https://docs.appery.io/docs/building-ionic-5-login-sample-app-part-2) one, we will focus on the app logic.

You can right now test our sample app in work using the predefined test user credentials (enter *<testuser1@gmail.com>* or *<testuser2@gmail.com>* for the user email, and *111* for the password for both users) to sign in:

<HTMLBlock>{`
<div style="border-width:1px;border-style:solid;width:377px;border-color:grey;">
      <iframe src="https://ionic5login.app.appery.io/#/loginPage" seamless="seamless" frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:667px;width:375px;top:0px;left:0px;right:0px;bottom:0px"></iframe>
</div>
`}</HTMLBlock>

> 📘 Want to know more?
>
> You might also like to learn how to build our **[Login-registration sample app](https://docs.appery.io/docs/ionic-5-database-login-and-signup-plug-in-app)** using Ionic.

Below are the links to both parts to be followed:

* [Part 1](https://docs.appery.io/docs/building-ionic-5-login-sample-app-part-1) which shows how to [build the app](https://appery.io/appbuilder) UI.
* [Part 2](https://docs.appery.io/docs/building-ionic-5-login-sample-app-part-2) which shows how to import the database services into the app and use it for handling user login and logout.

> 📘 Ionic Login via Linkedin
>
> You might also like this [Appery.io video](https://www.youtube.com/c/apperyio) that shows how to to add the login via LinkedIn functionality into your Ionic application:

<HTMLBlock>{`
<iframe width="800" height="315" src="https://www.youtube.com/embed/SqjJULe4kdw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
`}</HTMLBlock>