E
E
etozhesano2020-06-21 12:23:24
Java
etozhesano, 2020-06-21 12:23:24

Login/Register on Android using SQLite?

Hello. I'm new to android development (and generally in development). I want to make a mini application for myself, where login + user registration is implemented to enter the application. Googling, basically everyone is using SQLite for this. So the question is, is it worth it? Or try with some other SQL platform?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan, 2020-06-21
@etozhesano

Hello!
On android use sqlite application + ORM (SugarORM, etc.) to implement simple CRUD solutions.
BUT! When it comes to registration and authorization, then of course the local database will not help you much here. You need to raise a certain REST service (backend) and store all the necessary information there. If you write in Java, then Spring Boot is an option.
From the stack you can choose: Spring Boot + Spring REST Repositories + PostgresSQL + Spring Security + JWT Auth.
Well, accordingly, in your android application there will be a registration form. There is some rest controller on the backend that accepts the data entered by the user and saves it to the database. And then with the help of jwt (bearer token) user authorization is implemented.

G
GavriKos, 2020-06-21
@GavriKos

To do this, use the backend. And it could have anything on it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question