Skip to content

Commit

Permalink
Added guidelines for submission
Browse files Browse the repository at this point in the history
  • Loading branch information
madhurvelotio authored Oct 27, 2020
1 parent 3d96dee commit c064f95
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# go-k8s-training
---
### Exercise 1
Topics covered:
API development and Http communication using client, Json Encoding/decoding, DB connection, Docker , Helm, k8s
Create a private git repo for this and add a Readme.md explaining the steps to run you application using Docker and k8s

- Create a small e-commerce backend having two micro-services: `User` and `Order`. For now ignore the authentication part. `User` service only will be exposed to the public and will communicate with the `Order` service for any order related queries.

## Exercise 1
Create a small e-commerce backend having two micro-services: `User` and `Order`. For now ignore the authentication part. `User` service only will be exposed to the public and will communicate with the `Order` service for any order related queries.
You are admin and can perform all operations. Things to consider
- You are admin and can perform all operations. Things to consider
1. Handle CRUD operation of Users and Orders. There can be 1:n mapping between user and orders.
2. Can only update one order at a time
3. Can delete one or all orders of a user at a time
Expand All @@ -12,6 +17,24 @@ You are admin and can perform all operations. Things to consider
Eg: http://localhost:80/users -> all users
http://localhost:80/users/0/orders -> all orders of user 0
http://localhost:80/users/0/orders/0 - order 0 of user 0
Topics covered:
API development and Http communication using client, Json Encoding/decoding, DB connection, Docker , Helm, k8s
Create a private git repo for this and add a Readme.md explaining the steps to run you application using Docker and k8s
---

### General Requirement

- Comment all the things you are doing

- Code should be structured even though it is an assignment

- write up a simple summary of what you tried to do and how did you do in the commit comments

- Follow some good go repo template like https://github.com/IBM/go-repo-template
---

### Submission

- Fork this repository and work on it

- Raise a PR against this repository

- Add/ Tag the reviewer for that PR
---

0 comments on commit c064f95

Please sign in to comment.