makeopensource / devU

Autograder version 4
11 stars 14 forks source link

Improve local dev #98

Closed RA341 closed 6 months ago

RA341 commented 6 months ago

Proposed changes


Adds some quality-of-life updates for front-end and backend development.

I used docker compose profiles to selectively start services in docker-compose

We can use the following command to start the API quickly when developing the client.

npm run dev-backend # assuming we are in the client dir

When developing the API, we can use the following command to start the services required for the API easily

npm run api-services # assuming we are in the api dir

Added documentation to reflect the above.

Types of changes


What types of changes does your code introduce? Put an x in the boxes that apply

Checklist


Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code.