Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/andypendragon/tana_bus_api

An interface for bus routes and stops in Antananarivo, Madagascar
https://github.com/andypendragon/tana_bus_api

Last synced: 27 days ago
JSON representation

An interface for bus routes and stops in Antananarivo, Madagascar

Awesome Lists containing this project

README

        

![TanaBus-banniere-github](https://github.com/AndyPendragon/tana_bus_api/assets/116746292/cda1ef8a-5196-4989-afed-5034483b50f4)

# TANA BUS (API)

An interface for bus routes and stops in Antananarivo, Madagascar

## Author

- [@AndyPendragon](https://www.github.com/AndyPendragon) - Andy Nekena RATOETRARIVO

## Run Locally

Clone the project

```bash
git clone https://github.com/AndyPendragon/tana_bus_api
```

Go to the project directory

```bash
cd ./tana_bus_api
```
Install the database (Postgresql)

`
src/main/resources/migrations/v_1.0.sql
`

Into your IDE : Install dependencies

```
// Terminal output
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< com.pendragon:tana_bus_api >---------------------
[INFO] Building tana_bus_api 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------

// some [INFO]...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.244 s
[INFO] Finished at: 2023-01-01T01:23:45+03:00
[INFO] ------------------------------------------------------------------------
```

Into your IDE : Run the server (F5)

```
// Terminal output :
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.1.2)

// some [INFO]...

TanaBusApiApplication in 4.075 s (process running for 4.886)
```

Go to the server address
```
localhost:8080
```