2025-02-08 22:43:18 +03:00
|
|
|
# RestySqlite
|
|
|
|
|
2025-02-09 12:46:42 +03:00
|
|
|
WIP online sqlite database managment system
|
|
|
|
|
|
|
|
- WebAPI is not implemented yet.
|
|
|
|
- Database abstraction is almost done
|
|
|
|
|
|
|
|
## How it will work?
|
|
|
|
|
|
|
|
In future I want to make a RESTfull application which will allow
|
|
|
|
easy database manipulation.
|
|
|
|
|
2025-02-09 12:58:24 +03:00
|
|
|
### Example endpoints
|
|
|
|
|
|
|
|
`GET:localhost/table_name/column_name/` - will provide json of objects inside column
|
2025-02-09 12:59:02 +03:00
|
|
|
|
2025-02-09 12:58:24 +03:00
|
|
|
`GET:localhost/table_name/column_name/id` - will provide json object specific to this id
|
|
|
|
|
|
|
|
`POST:localhost/` - will allow execute global query to database. For example creating new table.
|
2025-02-09 12:59:02 +03:00
|
|
|
|
2025-02-09 12:58:24 +03:00
|
|
|
`POST:localhost/table_name` - will allow execute query on specific table. For example add new field.
|
|
|
|
|
|
|
|
### Manifest of goals
|
|
|
|
|
2025-02-09 12:46:42 +03:00
|
|
|
API **will** provide endpoint for each table and table column inside database.
|
|
|
|
|
|
|
|
API **will** allow execute any SQL query.
|
|
|
|
|
|
|
|
API **will NOT** protect from SQL injections. It's up to user manage security stuff.
|
|
|
|
|
|
|
|
API **will NOT** protect itself via password. It's up to user manage security stuff.
|