https://github.com/felipeclarindo/my-energy-web
Web project to improve the issue of green energy with dashboard and a management of energy accounts developed in python with integrated streamlit with api developed using djando and django-ninja.
https://github.com/felipeclarindo/my-energy-web
api-rest dashboard django django-application django-ninja python streamlit
Last synced: 3 months ago
JSON representation
Web project to improve the issue of green energy with dashboard and a management of energy accounts developed in python with integrated streamlit with api developed using djando and django-ninja.
- Host: GitHub
- URL: https://github.com/felipeclarindo/my-energy-web
- Owner: felipeclarindo
- License: agpl-3.0
- Created: 2024-11-17T18:38:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-25T03:45:18.000Z (about 1 year ago)
- Last Synced: 2025-07-14T03:03:35.543Z (12 months ago)
- Topics: api-rest, dashboard, django, django-application, django-ninja, python, streamlit
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🌍 [Leia em Português](README.pt-BR.md)
# My Energy
Web application in python using `streamlit` to improve the issue of energy spending integrated with api developed in `django` and `django-ninja`.
## Technologies Used
- `Streamlit` - Development of the interface.
- `requests` - Perform requests in api for manipulations in crud.
- `Oracle Database` - Standard database (can be changed as needed).
## API Features
The API offers a number of features for handling and managing data. Some of the main features include:
- Creation of new records in the database.
- Querying existing data through filters and parameters.
- Update of specific records.
- Deletion of data.
## Steps to run and install the api
1. Clone the Repository:
```bash
git clone https://github.com/felipeclarindo/my-energy-api.git
```
2. Enter directory:
```bash
cd my-energy-api
```
3. Create Virtual Environment:
```bash
python -m venv .venv
```
4. Activate the `Virtual Environment` running the `.bat` file in `.venv/Scripts/Activate.bat`.
5. Install dependencies :
```bash
pip install - r requirements.txt
```
6. Configure Database and Migrations:
```bash
python ./src/manage.py
```
7. Run Server:
```bash
python ./src/manage.py runserver
```
8. Access API in:
- http://localhost:8000/api
## Steps to run and install the Front-end
1. Clone the Repository:
```bash
git clone https://github.com/felipeclarindo/my-energy-web.git
```
2. Enter the directory:
```bash
cd my-energy-web
```
3. Create Virtual Environment:
```bash
python -m venv .venv
```
4. Activate the `Virtual Environment` running the `.bat` file in `.venv/Scripts/Activate.bat`.
5. Install dependencies:
```bash
pip install - r requirements.txt
```
6. Run application:
```bash
streamlit run ./app/app.py
```
## Contribution
Contributions are welcome! If you have suggestions for improvements, feel free to open an issue or submit a pull request.
## Author
**Felipe Clarindo**
- [LinkedIn](https://www.linkedin.com/in/felipeclarindo)
- [Instagram](https://www.instagram.com/lipethecoder)
- [GitHub](https://github.com/felipeclarindo)
## License
This project is licensed under the [GNU Affero License](https://www.gnu.org/licenses/agpl-3.0.html).