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
- Host: GitHub
- URL: https://github.com/grandevx/synapse
- Owner: GrandeVx
- Created: 2022-02-24T09:20:45.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T15:58:03.000Z (almost 4 years ago)
- Last Synced: 2025-01-13T17:16:43.309Z (over 1 year ago)
- Topics: example-project, simulation
- Language: TypeScript
- Homepage: https://synapse-fawn.vercel.app
- Size: 5.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Synapse
A complete example of a "Start-up" Project for a school assignment

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 |