-
Notifications
You must be signed in to change notification settings - Fork 0
/
requirements.txt
48 lines (41 loc) · 1.21 KB
/
requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Locale Requirements:
1. search functionality:
- Generate and return API key for user authentication after user signing up. So users can see API key only once.
- Users can search for information (Return all metadata) about nigeria based on the categories: region, state and local government area(LGAs).
- Users can search a region name to return all metadata about that region.✔️
- Users can search a state name to return all metadata about that state.✔️
- Users can search an LGA name to return all metadata about that LGA. ✔️
2. General APIs:
- Users should be able to get all regions. ✔️
- Users should be able to get all states. ✔️
- Users should be able to get all LGAs. ✔️
1. Region Model:
- id: string
- name: string
- states: array of states
- population: string
- description: string
2. State Model:
- id: string
- name: string
- capital: string
- region: string
- no_of_lgas: number
- local_gov_areas
- population: string
- description: string
3. LGA Model:
- id: string
- name: string
- state: string
- region: string
- postal code: string
- population: string
- description: string
4. User Model:
- id: string
- firstname: string
- lastname: string
- email: string
- api_key: string
- created_at