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

https://github.com/uwrit/kpmp_user_portal

Centralized User Portal API for the KPMP app suite
https://github.com/uwrit/kpmp_user_portal

flask mongodb python

Last synced: about 1 month ago
JSON representation

Centralized User Portal API for the KPMP app suite

Awesome Lists containing this project

README

          

# kpmp-user-portal
Centralized User Portal API for the KPMP app suite

## Development Environment
#### Config
```sh
git clone https://github.com/uwrit/kpmp_user_portal.git
cd kpmp_user_portal
touch config.json
touch .docker.env
```

config.json
```json
{
"MONGO_URI": "mongodb://root:{MONGO_ROOT_PASSWORD}@localhost:27017/kpmp?authSource=admin",
"SECRET_KEY": "create_entropy_to_use_here",
"ENV": "development",
"UWGS_KEY": "~/path/to/your.key",
"UWGS_CERT": "~/path/to/your.cert",
"UWGS_URL": "groups_version_api_url"
}
```

#### Mongo Variables
.docker.env
```env
MONGO_ROOT_USERNAME=root
MONGO_ROOT_PASSWORD={MONGO_ROOT_PASSWORD}
```
then

`docker-compose up`