Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question