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

Deploy to Azure static web apps #53

Open
jhiben opened this issue Nov 22, 2024 · 2 comments · May be fixed by #54
Open

Deploy to Azure static web apps #53

jhiben opened this issue Nov 22, 2024 · 2 comments · May be fixed by #54
Assignees

Comments

@jhiben
Copy link
Owner

jhiben commented Nov 22, 2024

Implement the API with functions
Use NextJS for the frontend
Deploy infrastructure with GitHub actions
Deploy code with GitHub actions

@jhiben jhiben self-assigned this Nov 22, 2024
@jhiben
Copy link
Owner Author

jhiben commented Nov 22, 2024

The CRUD models should be ignored

@jhiben
Copy link
Owner Author

jhiben commented Nov 22, 2024

The deployment pipeline should leverage the staging capability of static web apps if possible

jhiben added a commit that referenced this issue Nov 22, 2024
Fixes #53

Add API implementation with Azure Functions, NextJS frontend, and GitHub Actions deployment.

* **API Implementation**:
  - Add `WorkoutFunction.cs` for handling workout-related API requests.
  - Add `WorkoutRecords.Api.csproj` for the Workout API project configuration.

* **NextJS Frontend**:
  - Add `package.json` for managing dependencies and scripts.
  - Add `next.config.js` for NextJS configuration.
  - Add `index.js` for the home page.
  - Add `api/hello.js` for an example API endpoint.

* **GitHub Actions Deployment**:
  - Add `deploy.yml` for building and deploying the API and frontend to Azure Static Web Apps.

* **Remove CRUD Models**:
  - Delete `Movement.cs`, `Workout.cs`, `WorkoutMovement.cs`, and `WorkoutRecord.cs` from the `CRUD` directory.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/jhiben/workout-records-api-dotnet/issues/53?shareId=XXXX-XXXX-XXXX-XXXX).
@jhiben jhiben linked a pull request Nov 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant