For educational purposes
I Create point of sales app by using sqlite snd convert it to supapase
As you know, SQLite is not suitable for multiple users, so you need a server or a cloud database.
You can using it in your smart phone , macOS and desktop!
User Registration: Register users quickly and easily.
Sales Transactions: Conduct sales transactions effortlessly.
Home Screen: Different interfaces for Admin and User for optimized functionality.
Reports:admin can request sales reports for all users but user for himself only
Track all deletion transactions for complete accountability.
Report Export: Both Admin and Users can export detailed sales reports to Excel for further analysis.
Using dupabase
Step 1: Sign Up and Log In to Supabase
Visit Supabase: Go to [supabase.com](https://supabase.com/features/sql-editor) and click on "Start your project" from the right of the navigation bar
Create a Project: Fill in the details of your project, such as the project name, password, and region[( Click on "Create new project" to set up your project
Log In: Use the credentials you created to log in to your Supabase dashboard
Get the URL and key and put them in the database.py file and put them in their designated place in the code
1. Project URL: Once logged in, you'll be redirected to your project pag
2. API Key: Go to the "Settings" tab in your project Under "API Keys," you'll find your "anon public key" and "secret key." Copy these keys as you'll need them for API
Step 3: Insert an SQL Statement Using the SQL Editor
1. Access SQL Editor: In your project dashboard, go to the "SQL Editor"
2. Write Your SQL Query: Click on "New Query" and write your SQL statement[ For example, to create a new table:
CREATE TABLE users (
id SERIAL PRIMARY KEY,
name VARCHAR(100),
email VARCHAR(100) UNIQUE
);
I have attached rar fole contains two folders after extract in supabase folder will find txt file copy and paste to SQL editor in supabase.
3. Run the Query: Click "Run" or press Cmd+Enter (Ctrl+Enter on Windows) to execute the query
Finaly rumn main.py file
To show result download supabase.apk
https://files.fm/u/92hskdanuf
Download rar file
https://files.fm/u/xwqyhdv4vu
On this page of the site you can watch the video online python:convert sqlite to supabase .flet frameworks as example with a duration of hours minute second in good quality, which was uploaded by the user Ayamnash Ayamnash 23 January 2025, share the link with friends and acquaintances, this video has already been watched 130 times on youtube and it was liked by 3 viewers. Enjoy your viewing!