Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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]





Logo

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



  1. About The Project



  2. Getting Started


  3. Usage

  4. Roadmap

  5. Contact

  6. Acknowledgments


## About The Project

[![Product Name Screen Shot][product-screenshot]](https://example.com)

This is a REST API backend for MetOps android application

(back to top)

### 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/)

(back to top)

## 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 = ''
```

(back to top)

## Usage

Backend to [this Flutter app](https://github.com/sn2606/MetOps-frontend)

(back to top)

## 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 Dashboard

See the [open issues](https://github.com/sn2606/MetOps-backend/issues) for a full list of proposed features (and known issues).

(back to top)

## Contact

Swaranjana Nayak - [email protected]

Project Link: [https://github.com/sn2606/MetOps-backend](https://github.com/sn2606/MetOps-backend)

(back to top)

## 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/)

(back to top)

[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