RestySqlite/README.md

34 lines
1005 B
Markdown
Raw Normal View History

2025-02-08 22:43:18 +03:00
# RestySqlite
2025-02-09 12:46:42 +03:00
WIP online sqlite database managment system
2025-02-09 16:38:49 +03:00
- WebAPI implemented.
2025-02-09 12:46:42 +03:00
- 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
2025-02-09 16:38:49 +03:00
`GET:localhost/api"` - will provide json of tables inside database
2025-02-09 12:59:02 +03:00
2025-02-09 16:38:49 +03:00
`GET:localhost/table_name/` - will provide json of columns inside table
2025-02-09 12:58:24 +03:00
2025-02-09 16:38:49 +03:00
`GET:localhost/api/table_name/column_name/` - will provide json of objects inside column
`GET:localhost/api/table_name/id` - will provide json object specific to this id
`POST:localhost/api/sqlcommand` - 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
### 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.