Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4c9ac639a | ||
|
|
8f81c15ee4 | ||
|
|
f4c87bf2c1 |
+4
-3
@@ -4,7 +4,7 @@ Fill this in before you send your submission back — a few minutes is plenty. I
|
|||||||
|
|
||||||
## What I built and why
|
## What I built and why
|
||||||
|
|
||||||

|
<img src="https://uwu.stedos.dev/f/QV79RO" alt="drawing" width="600"/>
|
||||||
|
|
||||||
* A new `POST` endpoint was added to allow for the creation of mission launches. An example curl request for the new endpoint is:
|
* A new `POST` endpoint was added to allow for the creation of mission launches. An example curl request for the new endpoint is:
|
||||||
```sh
|
```sh
|
||||||
@@ -20,6 +20,7 @@ curl --request POST \
|
|||||||
* The Mission -> Launch relationship is defined as one-to-many. Originally chose to have a one-one relationship, but changed after deciding that there could be more than one launch per mission (and makes the frontend look a little more interesting).
|
* The Mission -> Launch relationship is defined as one-to-many. Originally chose to have a one-one relationship, but changed after deciding that there could be more than one launch per mission (and makes the frontend look a little more interesting).
|
||||||
* For the UI, I chose to have a table *within a table*, with an accordion element. It seems to work well, however could get a little cluttered if there are more entities related to Missions in the future.
|
* For the UI, I chose to have a table *within a table*, with an accordion element. It seems to work well, however could get a little cluttered if there are more entities related to Missions in the future.
|
||||||
* I chose to have the form as a pop-over on the table as the form was small enough, and it allows the user to have the context of the Mission they are adding the Launch to, which something like a modal doesn't do as well.
|
* I chose to have the form as a pop-over on the table as the form was small enough, and it allows the user to have the context of the Mission they are adding the Launch to, which something like a modal doesn't do as well.
|
||||||
|
* Created a very simple CI workflow at `.gitea/workflows/build-test.yml` which runs on PR and `main` merges. You can find the runs at https://git.stevenjw.co.uk/StevenJW/mission-control/actions, the latest ones should be green.
|
||||||
|
|
||||||
## Where AI helped, and what I accepted or rejected
|
## Where AI helped, and what I accepted or rejected
|
||||||
|
|
||||||
@@ -87,9 +88,9 @@ Not every database call necessarily needs to go in a service, but most will be u
|
|||||||
|
|
||||||
It's been quite a while since I've worked on Terraform, and I still think it's my preferred IaC platform (having used Ansible for a little bit now) - and I would like to dive back into it. A lot of the infrastructure already looks to be there! I'm also pretty happy to see the SPA be hosted by .NET, really cool.
|
It's been quite a while since I've worked on Terraform, and I still think it's my preferred IaC platform (having used Ansible for a little bit now) - and I would like to dive back into it. A lot of the infrastructure already looks to be there! I'm also pretty happy to see the SPA be hosted by .NET, really cool.
|
||||||
|
|
||||||
#### Add CI/CD pipelines
|
#### Add more robust CI/CD pipelines
|
||||||
|
|
||||||
I am a big fan of CI/CD pipelines. They are a great way to automate checking (ie. make code reviews faster and more focused), and deployment. Every project should have some pipelines, and it's nice to see formatters and linters for both frontend and backend!
|
I am a big fan of CI/CD pipelines. They are a great way to automate checking (ie. make code reviews faster and more focused), and deployment. Every project should have some pipelines, and it's nice to see formatters and linters for both frontend and backend! I have added a very basic one in `.gitea/workflows` for building, formatting and testing the backend and frontend. You can view the runs at https://git.stevenjw.co.uk/StevenJW/mission-control/actions.
|
||||||
|
|
||||||
### Frontend
|
### Frontend
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user