Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evscott/aedibus-api-old
To see this projects Kanban board install the Zenhub Chrome/Firefox extension.
https://github.com/evscott/aedibus-api-old
Last synced: 14 days ago
JSON representation
To see this projects Kanban board install the Zenhub Chrome/Firefox extension.
- Host: GitHub
- URL: https://github.com/evscott/aedibus-api-old
- Owner: evscott
- Created: 2019-11-09T00:43:16.000Z (about 5 years ago)
- Default Branch: development
- Last Pushed: 2020-01-05T07:44:15.000Z (almost 5 years ago)
- Last Synced: 2024-10-24T21:29:08.566Z (2 months ago)
- Language: Go
- Homepage:
- Size: 220 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aedibus-api
### Prerequisites
1. Ensure that you have [go](https://golang.org/) installed.
2. Ensure that you have [docker](https://www.docker.com/) installed.
3. Ensure that you have [docker-compose](https://docs.docker.com/compose/install/) installed.### Installing
To run the API without Docker you have to install its dependencies. Inside of the api root directory, run:
```
go get ./...
```*Note: the API requires a database connection to successfully boot*
## How to use### Run the application with docker-compose
Inside of the api root directory, run:
```
docker-compose down && sudo docker-compose up --build
```### Clean database history
Inside of the api root directory, run:
```
sudo rm -rf postgres-data
docker volume prune
docker rm $(docker ps -a -q)
```## Architecture
### API
![uml](./assets/aedibus-api-UML-d1.png)
*Note: this diagram is a rough draft and omits many details*
### DB
![uml](./assets/aedibus-db-UML-d1.png)
## Authors
* **[Eliot Scott](https://github.com/evscott)** - *Initial work*
See also the list of [contributors](https://github.com/your/project/contributors) who participated in this project.