@@ -4,7 +4,10 @@ Your task is to create a server that exposes an API to manage subscriptions, cre
4
4
5
5
## Description
6
6
7
- Your server should support:
7
+ Your server should expose an API via either [ ` REST ` ] ( https://en.wikipedia.org/wiki/Representational_state_transfer )
8
+ or [ ` graphql ` ] ( https://graphql.org/ ) .
9
+
10
+ The API should support:
8
11
9
12
* creating a new subscription for a ` msisdn ` with an ` activate_at ` date and a type;
10
13
* if a non-cancelled subscription already has the same ` msisdn ` the request should be rejected;
@@ -23,7 +26,7 @@ A subscription represents a user's phone subscription, which has the following i
23
26
* [ ` msisdn ` ] ( https://en.wikipedia.org/wiki/MSISDN ) which is the subscription's number;
24
27
* ` activate_at ` which is the date when the subscription is activated in the system;
25
28
* ` type ` which is either [ ` PBX ` ] ( https://en.wikipedia.org/wiki/Business_telephone_system#Private_branch_exchange )
26
- or ` CELL ` ;
29
+ or [ ` CELL ` ] ( https://en.wikipedia.org/wiki/Mobile_phone ) ;
27
30
* ` status ` which is one of ` pending ` , ` activated ` , ` paused ` or ` cancelled ` .
28
31
29
32
## Submission
@@ -36,7 +39,7 @@ technical skills._
36
39
37
40
## Requirements
38
41
39
- * Your submission should include a ` README.md ` file documenting how to install and start the project;
42
+ * Your submission should include a ` README.md ` file documenting how to install start and test the project;
40
43
* You won't have the time to make everything perfect, just document what is lacking and how you would improve it;
41
44
* Do not make the task harder than it is, it should take a couple of hours but absolutely not more than 8 hours;
42
45
* You are free to use any technology and framework of your choice.
0 commit comments