Skip to content

luliena01/OneRoom

Repository files navigation

##Rental Room management system

Framework

Functions

Login

  • Encrypted password Encrypt password with sha256_crypt using passlib.hash and compare with enc passsword in users table.

  • Authentication using login session Saving unique user code in session as session['code']. Every users have Administrator, Tanent or Guest types in Roles table. Checking authentication decorators on function -> check if user codes in session have admin, tanent or guest authentication in users table.

	@guest_auth
	@tenant_auth
	@admin_auth

If a user doesn't have a permission, it changes pages to login page.

Board

  • Hit Increasing counter when anyone click defail of content and checks sessions to duplicated users not to include the count.

  • Naver editor The editor only supports HTML5 (drag & drop). Image upload process

1. Send img to server
2. Save img in Template/files as rendom id
3. Response url (download img url with id)
  • Convert images Converting image files to small size (Thumbnail) using pillow lib.

  • Chart Bill pages shows bills by user and monthly using Morris.js jQuery based charting plugin.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published