Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sn2606/metops-backend
Django based backend for Field Artillery Meteorology application
https://github.com/sn2606/metops-backend
authentication django django-rest-framework flutter-django meteomatics-api positionstack-api postgresql python rest-api
Last synced: about 2 months ago
JSON representation
Django based backend for Field Artillery Meteorology application
- Host: GitHub
- URL: https://github.com/sn2606/metops-backend
- Owner: sn2606
- Created: 2022-12-06T13:18:59.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T11:08:54.000Z (almost 2 years ago)
- Last Synced: 2024-04-17T22:55:36.288Z (9 months ago)
- Topics: authentication, django, django-rest-framework, flutter-django, meteomatics-api, positionstack-api, postgresql, python, rest-api
- Language: Python
- Homepage:
- Size: 177 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
MetOps
MetOps is a state-of-the-art, fully integrated comprehensive solution presented as a substitute for the traditional MET stations used for field artillery atmospheric data collection.
Explore the docs »
View Demo
·
Report Bug
Table of Contents
## About The Project
[![Product Name Screen Shot][product-screenshot]](https://example.com)
This is a REST API backend for MetOps android application
### Built With
* [Python](https://www.python.org/)
* [Django](https://www.djangoproject.com/)
* [Django Rest Framework](https://www.django-rest-framework.org/)
* [Meteomatics](https://www.meteomatics.com/en/)
* [positionstack](https://positionstack.com/)## Getting Started
This is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.### Prerequisites
The `requirements.txt` file contains all the prerequisites for the project
* Make sure python is installed
* Create a python virtual environment for this project
```sh
$ python3 -m venv /path/to/new/virtual/environment
```
* Activate the virtual environment
```sh
$ source /path/to/new/virtual/environment/bin/activate
```
* Install pip in this virtual environment
```sh
$ python -m ensurepip --upgrade
```### Installation
1. Create a folder with the virtual environment activated
2. Clone the repo
```sh
git clone https://github.com/sn2606/MetOps-backend.git
```
3. Install Python packages
```sh
pip install -r requirements.txt
```
4. Create a database in PostgreSQL
5. Create a [Meteomatics](https://www.meteomatics.com/en/) account
6. Create a [positionstack](https://positionstack.com/) account
7. Create a .env file in the repository folder with following parameters
```env
SECRET_KEY = ''
DATABASE_NAME = ''
DATABASE_USER = ''
DATABASE_PWD = ''
METOMATICS_UN = ''
METEOMATICS_PWD = ''
POSITIONSTACK_API_KEY = ''
```## Usage
Backend to [this Flutter app](https://github.com/sn2606/MetOps-frontend)
## Roadmap
- [x] Models
- [x] Database Connected (PostgreSQL)
- [x] DRF
- [x] API View
- [x] Authentication Register
- [x] Authorization Login & Account View
- [x] Query Response from external API (Meteomatics)
- [x] Query & Records Save
- [x] Query & Records View
- [x] Query & Records Delete
- [ ] Query & Response Export
- [ ] Current Location Weather on DashboardSee the [open issues](https://github.com/sn2606/MetOps-backend/issues) for a full list of proposed features (and known issues).
## Contact
Swaranjana Nayak - [email protected]
Project Link: [https://github.com/sn2606/MetOps-backend](https://github.com/sn2606/MetOps-backend)
## Acknowledgments
* [Django Rest Framework Tutorial](https://www.youtube.com/watch?v=c708Nf0cHrs&t=6568s)
* [Django Documentation](https://docs.djangoproject.com/en/4.1/)
* [Django Rest Framework Documentation](https://www.django-rest-framework.org/)[contributors-shield]: https://img.shields.io/github/contributors/sn2606/MetOps-backend.svg?style=for-the-badge
[contributors-url]: https://github.com/sn2606/MetOps-backend/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/sn2606/MetOps-backend.svg?style=for-the-badge
[forks-url]: https://github.com/sn2606/MetOps-backend/network/members
[stars-shield]: https://img.shields.io/github/stars/sn2606/MetOps-backend.svg?style=for-the-badge
[stars-url]: https://github.com/sn2606/MetOps-backend/stargazers
[issues-shield]: https://img.shields.io/github/issues/sn2606/MetOps-backend.svg?style=for-the-badge
[issues-url]: https://github.com/sn2606/MetOps-backend/issues
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/swaranjana
[product-screenshot]: assets/screenshot.png