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

https://github.com/xebec19/shiny-parakeet

project in go
https://github.com/xebec19/shiny-parakeet

Last synced: 4 months ago
JSON representation

project in go

Awesome Lists containing this project

README

        

# shiny-parakeet

# Requirements
## Technical Requirements
1. go 1.19
2. [golang-migrate](https://github.com/golang-migrate/migrate) for migrating database
3. Postgresql

## Other requirement
1. Please find example.env in root and add required values and rename it as app.env

# How to set up
## with Docker
1. Pull postgres image
```
docker pull postgres:12-alpine
```
2. Create container for database
```
make postgres
```
3. Create database in container
```
make createdb
```
4. Migrate database
```
make migrateup
```
5. Install dependencies
```
go mod tidy
```
6. Test application
```
make test
```
7. Run application
```
make server
```

## Without docker
1. Migrate database
```
make migrateup
```
2. Install dependencies
```
go mod tidy
```
3. Test application
```
make test
```
4. Run application
```
make server
```

# API Documentation (POSTMAN)
Please find API Documentation in [./wiki](https://github.com/Xebec19/shiny-parakeet/tree/main/wiki) folder

# Swagger Documentation
Please find documentation in [./docs](https://github.com/Xebec19/shiny-parakeet/tree/main/docs) folder