Api rest developed with django and django-ninja for the My Energy project to perform manupilations in an oracle database.
Django- API main structure.Django Ninja- Framework for fast and efficient construction of REST APIs.SQLite- Standard database (can be changed as needed).
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.
- Clone the repository:
git clone https://github.com/felipeclarindo/my-energy-api.git- Enter directory:
cd my-energy-api- Install dependencies:
pip install -r requirements.txt- Configure Database and Migrations:
python manage.py migrate- Run the server:
python manage.py runserver-
Access the API in http://localhost:8000/api.
-
Go to My Energy Repository to run the front end.
Contributions are welcome! If you have suggestions for improvements, feel free to open an issue or submit a pull request.
Felipe Clarindo
This project is licensed under the GNU Affero License.