Lambda-School-Labs/allay-ds

View on GitHub
allay-ds-api/README.md

Summary

Maintainability
Test Coverage
# Allay DS API

## Tech stack
- [FastAPI](https://fastapi.tiangolo.com) 0.54.1
- [Heroku](https://heroku.com)

## Documentation
- [Allay DS API Documentation](https://allay-ds.herokuapp.com/docs)
- [Allay DS API Redoc Documentation](https://allay-ds.herokuapp.com/redoc)

## Diagram
![API Flowchart](../images/allay23-ds-api.png)

## Instructions
install virtual environment (in repo root)
```
pipenv install --python=3.7.6
```

enter virtual environment (in repo root)
```
pipenv shell
```

launch locally
```
cd allay-ds-api
uvicorn fastapi_app:APP --reload
```

push to heroku staging (in repo root)
```
git checkout feature/<your-feature-name>
git subtree push --prefix allay-ds-api staging master
```

Heroku is setup to automatically deploy to production environment on merge to master.