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

https://github.com/grandevx/synapse

A complete example of a "Start-up" Project for a school assignment
https://github.com/grandevx/synapse

example-project simulation

Last synced: 12 months ago
JSON representation

A complete example of a "Start-up" Project for a school assignment

Awesome Lists containing this project

README

          

# Synapse
A complete example of a "Start-up" Project for a school assignment

![Synapse](img/long.png)

what i have done:

- Simulated Start-up Concept
- Created an IOT Sensor with LoraWan Network for the comunication (Sensor - Lora Signal > Lora Gateway - TCP > Api )
- Developed API System for the realtime DB SQL DB
- Developed the Static Web Page
- Developed the Web App for the Sensor check and Analytics

More about:

- [LoraWan](https://lora-alliance.org/about-lorawan/)
- [LoraKit](https://www.dragino.com/index.php)
- [Java Spring](http://spring.io)
- [NextJS](https://nextjs.org)

## The Concept
TODO

### Project layout

```
|- API/ // Folder containing REST API (Realtime DB & SQL DB)
|- Old Version/ // Folder containing the old version of the API
|- database/ // Folder containing the db implementation Concept
|- gateway/ // Arduino code for the Dragino Lora Gateway (Lora Signal -> TCP)
|- sensor/ // Arduino code for the Dragino Arduino with Lora Shield (Sensor Signal -> Lora Gateway)
|- simulation/ // Data Science Analytics with Python Simulation
|- website/ // Folder containing the Website and The Platform
| |
| |- Platform/ // Folder containing the Platform Next Js Web App
| |- Static/ // Folder containing the Synapse Next Js Website
|
```

---

### Build and Run

Todo

#### User Service

|HTTP Method|URL|Description|
|---|---|---|
|`POST`|http://localhost:8080/sensor/addMeasure?{Serial_number}&{measure} | Add new Measure |
|`POST`|http://localhost:8080/sensor/getMeasure?{Serial_number} | Get all Sensor's Measures |
|`POST`|http://localhost:8080/sensor/get?{Serial_number} | Get Sensor Information |
|`POST`|http://localhost:8080/sensor/getAll/?{user_id} | Get all User's Sensors |
|`POST`|http://localhost:8080/user/register?{username}&{mail}&{password} | Register new User |
|`POST`|http://localhost:8080/user/login?{mail}&{password} | Login System |
|`POST`|http://localhost:8080/user/updatepassword?{mail}&{old_password}&password} | Edit the Password |