• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    C#
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AirQualityMX project: air quality notifications for Mexico

What is this? Why?

This can be called a 'personal' project by @jorge_vgut with the original intentions of learning C# Programming language, and at the same time, do something that could be shared and used to share knowledge on programming and software design. If you'd like to learn about how this project is design, please check our high level design document first.

Project status

This project is in DEVELOPMENT currently undergoing tests.** If you would like to learn more about this, please head to our Wiki on Github.

Coding guidelines

Intention is to follow Microsoft's dotnet best practices. Visit their dotnet/runtime project on Github. https://github.com/dotnet/runtime/blob/master/docs/coding-guidelines/coding-style.md

Use CodeFormatter: https://github.com/dotnet/codeformatter as a tool to format code.

Note: code formatting and perfect style is out of scope for the moment

Instructions

Deploy cloud infrastructure on AWS

Go to cloud-infra/AirQualityCDK/ which is an AWS CDK project, here you will need the following requirements.

  • Need an Aws account with permissions to deploy all services, for details see the CDK Stack implementation in this project.
  • Have aws cli installed and configuration already set locally for cdk deploy to pick it up.
  • Set the following environment variables set
    # may put this values on env-setup.sh for easing the process
    TOKEN -> Waqi API token
    TWITTER_APIK=Twitter API KEY;
    TWITTER_APIS=Twitter API Secret;
    TWITTER_ACCESS_TOKEN=Twitter access token (for development purposes);
    TWITTER_SECRET_TOKEN=Twitter secret token (for development purposes);
    
  • Will need S3 bucket to hold package lambdas. Refer to script in src/Aws/package-and-upload-lambdas.sh
  • project is a dotnetcore v3 app, make sure to have dotnet cli installed to build the project.

Sample setup:

#from /project-root
# make sure all projects build and are tested(test is very limited), this is done automatically as all are added as part of solution in project root.
dotnet build
dotnet test

# from src/Aws
# this packages and upload lambda zip files into s3 buckets, this will be picked up by CDK stack
./package-and-upload-lambdas.sh

# from cloud-infra/AirQualityCDK
# setup required environment variables so CDK provisions resources with these as environment variables
./env-setup.sh
# provision everython on Aws as a Stack
cdk deploy

Contributions

Should you like to provide any feedback, please open up an Issue, I appreciate feedback and comments, although please keep in mind the project is incomplete, and I'm doing my best to keep it up to date.

Currently the project is NOT ACCEPTING CODE CONTRIBUTIONS (pull requests, or else) However as this is in its early stages, you are welcome to leave feedback on its current design.

More Repositories

1

curso_backend_platzi

C#
95
star
2

practicas-conceptos-avanzados

Java
44
star
3

curso_nodejs

JavaScript
11
star
4

XymindGame

Repositorio de la serie de juegos con libgdx
Java
4
star
5

practica_SL

Java
3
star
6

Android

Codigo fuente de programas nativos para Android
Java
3
star
7

goworkshop

Go
3
star
8

AplicacionWeb

CodigoFuente de tutoriales youtube
C#
3
star
9

Informate_MX

App movil para visualizar datos abiertos de México
Java
3
star
10

ClienteRSS

App para convertir a cliente RSS
Java
3
star
11

devf_android

Ejemplos para sesión DevF, Retrofit, AchartEngine. cinta roja
Java
3
star
12

practicaJSON

practica del tutorial de jsonObject y Json Array
Java
2
star
13

ytcollect

Java
2
star
14

android_workshops

Android workshop
Java
2
star
15

ddd-practice

Just for fun and learning
Java
2
star
16

functional_examples_js

Examples of code in JavaScript using the functional programming paradigm
JavaScript
2
star
17

sqlinjection

PHP
2
star
18

vimconfig

Vim Script
1
star
19

cryptography

C
1
star
20

AccountTests

Java
1
star
21

PdfLookupTool

C#
1
star
22

pruebagit123

JavaScript
1
star
23

custom_events_java

Clase de eventos personalizados en Java
Java
1
star
24

ScrollTest

Experimento para probar el diseño de las animaciones de css aplicadas con el scroll
CSS
1
star
25

codejam_practices

For solving past Google Code Jam problems
Ruby
1
star
26

tutoriales_cpp

Codigo fuente de tutoriales de C++ para su disposición
C++
1
star
27

hello-mongo

JavaScript
1
star
28

node_server_example

JavaScript
1
star
29

proyectoprueba

JavaScript
1
star
30

express-hello

JavaScript
1
star
31

Java

Codigo fuente de programas en Java
1
star
32

Videojuego

Java
1
star