Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding staging environment for consumer-api #56

Open
DanielHe4rt opened this issue Aug 15, 2024 · 0 comments
Open

feat: adding staging environment for consumer-api #56

DanielHe4rt opened this issue Aug 15, 2024 · 0 comments
Assignees
Labels
api Working around the /api folder devops Demands that need devops action enhancement New feature or request help wanted Extra attention is needed rust
Milestone

Comments

@DanielHe4rt
Copy link
Contributor

Currently we only have one API which is being used for production and test purposes (twitch-extension.danielheart.dev) and our goal is to make it easier for staging tests.

Proposal

Use Nginx to make a proxy for maintain the current api and create two new ones for the v1 development/production:

  • twitch-extension.danielheart.dev (deprecate after 1 month after release the 1.0)
  • consumer.newdomain(?).dev (production)
  • consumer-dev.newdomain.dev (staging)

The service today is running under Rust Actix and would be good to have a auto-deployment on this tooling.

Maybe @gvieira18 can bring some ideas or if anyone wants to implement it, please ping me so I can provide a VPS for you to work with.

@DanielHe4rt DanielHe4rt added api Working around the /api folder enhancement New feature or request help wanted Extra attention is needed rust labels Aug 15, 2024
@DanielHe4rt DanielHe4rt moved this to Backlog in Twitch Addon Aug 15, 2024
@DanielHe4rt DanielHe4rt added this to the v0.2.0 milestone Aug 15, 2024
@gvieira18 gvieira18 added the devops Demands that need devops action label Aug 20, 2024
@gvieira18 gvieira18 self-assigned this Aug 21, 2024
gvieira18 added a commit to basementdevs/tbp-consumer-api that referenced this issue Sep 4, 2024
…idation (#7)

## Summary

This PR includes a series of updates and improvements aimed at refining
both the development and production environments:

- **Environment Handling**:
- Improved environment variable loading and usage within various
commands.
- Removed the validation check for the `.env` file. This change was
necessary because in production environments using Docker, the `.env`
file is not utilized, which was causing unnecessary errors.
- **Dockerfile Enhancements**:
- Improved the Dockerfile to better accommodate both development and
production environments, ensuring smoother transitions between these
setups.
- **App Configuration**:
- Updated application settings specifically for the development
environment, optimizing for local development workflows.
- **CI/CD**:
- Added Dependabot configuration for weekly dependency updates,
enhancing project maintenance and security.

relates to basementdevs/twitch-better-profile#56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Working around the /api folder devops Demands that need devops action enhancement New feature or request help wanted Extra attention is needed rust
Projects
Status: Backlog
Development

No branches or pull requests

2 participants