litestar app need additional features code
Budget: $30 – $250 CAD
I'm looking for a freelancer to add additional features and an admin interface with lots of graphs/dashboards to an already existing app built in python using litestar framework ( which manages Cloudflare access list IP block ).
Requirements: python 3.10, litestar.dev skills, understanding jinja templates and good with charting!
Features:
[1] App IP restriction
- detect the IP of the WEB UI user
- compare the IP against a predefined array of IP ranges
- If the IP falls within one of the ranges, allow access, otherwise deny access to the UI with a 403 message returned in the browser
[2] LOGGING:
- record UI changes to the access list rules to a local sqlite database ( user, email, action: add / delete, IP that was added/deleted )
- remote logging:
- have an on / off switch to enable sending logs remotely
- send logs remotely to a predefined server in JSON format ( app identifier, user, email, action, IP )
[3] AUTH: implement sessions -> Google authentication
[4] ADMIN INTERFACE with stats and graphs similar to AdminLTE
- data comes from Cloudflare firewall access list: how many entries in allow mode, how many in blocking mode
- and from sqlite database:
1. total number of CF access rules associated with the ZONE ID
2. table with top 5 most active users and their number of entries
3. table with last 10 ADDED entries ( user, email, IP )
4. table with last 10 REMOVED entries ( user, email, IP )
- lots of graphs are needed!
[5] Admin interface access restriction
- user access restriction ( based on a predefined static ) list of users
- or users belonging to a group ( predefined static list of users and groups )
[6] implement websockets on a different port or API path to be able to add and remove entries using curl from cli
- implement App IP restriction same as above
- rate limit to 10 POST requests for 60 seconds
I am looking for great quality work with a focus on functionality. I look forward to seeing what you can bring to the table.
Requirements: python 3.10, litestar.dev skills, understanding jinja templates and good with charting!
Features:
[1] App IP restriction
- detect the IP of the WEB UI user
- compare the IP against a predefined array of IP ranges
- If the IP falls within one of the ranges, allow access, otherwise deny access to the UI with a 403 message returned in the browser
[2] LOGGING:
- record UI changes to the access list rules to a local sqlite database ( user, email, action: add / delete, IP that was added/deleted )
- remote logging:
- have an on / off switch to enable sending logs remotely
- send logs remotely to a predefined server in JSON format ( app identifier, user, email, action, IP )
[3] AUTH: implement sessions -> Google authentication
[4] ADMIN INTERFACE with stats and graphs similar to AdminLTE
- data comes from Cloudflare firewall access list: how many entries in allow mode, how many in blocking mode
- and from sqlite database:
1. total number of CF access rules associated with the ZONE ID
2. table with top 5 most active users and their number of entries
3. table with last 10 ADDED entries ( user, email, IP )
4. table with last 10 REMOVED entries ( user, email, IP )
- lots of graphs are needed!
[5] Admin interface access restriction
- user access restriction ( based on a predefined static ) list of users
- or users belonging to a group ( predefined static list of users and groups )
[6] implement websockets on a different port or API path to be able to add and remove entries using curl from cli
- implement App IP restriction same as above
- rate limit to 10 POST requests for 60 seconds
I am looking for great quality work with a focus on functionality. I look forward to seeing what you can bring to the table.