An admin dashboard to register properties to sell or rent.
First: create a virtual environment and install the dependencies. I'm using pipenv.
pipenv shell
pipenv install
Second: you need a MySQL DB. I'm using MySQL Docker image.
docker-compose -f db/docker-compose.yml up -d
After that, go to the MySQL dashboard on localhost:8080
, create a database and a user for MySQL connections.
Also, import the .sql file located inside the db
folder.
To login on dashboard use: username: root
, password: example
.
Third: initialize the app
Copy .env.example
to .env
and fill the values.
Get your IMGBB_KEY
here.
Note: for using the recovery password feature you need an email server. You can use Gmail for this.
flask run
Now you can visit localhost:5000/painel-admin
- Properties
- Property images
- Categories
- Partner realtors
- Real estate info
- Partner realtors can use the dashboard with permissions levels
- Create custom permissions levels for partners
- Password recovery by email
- Enable/disable properties, categories, etc
- List all partner realtors and their registered properties
- Enable/disable partner realtors