Commit graph

25 commits

Author SHA1 Message Date
2a9a81d88d Move sensitive info to .env file and reset db 2023-03-10 23:09:20 +08:00
0f317ebbf5 Change domain and sitename to github pages url 2023-03-10 21:37:34 +08:00
4dc7f6bb8d Prepare backend for deployment 2023-03-10 12:44:14 +08:00
72130ca09a Revised date formatting for serializers.py 2023-03-09 23:20:36 +08:00
65a95a90af Move user list serializer and view to accounts app and restrict all endpoints to logged in users only 2023-03-07 23:48:52 +08:00
71583894bb Include username in logs endpoint 2023-03-07 22:20:34 +08:00
dd115197f4 Only allow get method in user list endpoint 2023-03-07 20:39:33 +08:00
d2a869b685 Added user list url endpoints 2023-03-07 20:39:16 +08:00
3205880bde Added least stocked product url 2023-03-07 19:28:38 +08:00
78c9a67f07 Sort logs and history in descending order 2023-03-07 18:26:00 +08:00
9c8889df0e Changed history in products url to reflect quantity and date timestamp 2023-03-07 17:47:50 +08:00
17495c960b Added logs url 2023-03-07 17:23:39 +08:00
2ea9d7a1de Added history field to product model 2023-03-07 15:32:05 +08:00
ad866ca05f Installed django simple history and fixed models.py return __str__ 2023-03-07 15:26:44 +08:00
lemeow125
7db50e72e5
Merge pull request #1 from lemeow125/feature/connect_frontend
Feature/connect frontend
2023-03-06 21:08:28 +08:00
c486b12f33 Add id in serializer 2023-03-06 15:38:47 +08:00
96ab7ed1d4 Added domain for frontend 2023-03-05 22:05:18 +08:00
d98c88482d Added products model 2023-03-05 21:56:48 +08:00
62237c9a3c Added corsheader 2023-02-28 22:40:37 +08:00
dab99b17cf Added accounts 2023-02-28 22:16:45 +08:00
9dfdc4aa2f Some pipfile changes 2023-02-28 01:03:37 +08:00
2234100f17 Fixed api/v1 url not working and added initial djoser url 2023-02-28 01:02:43 +08:00
b95f17a358 Fixed config not pointing to itself and added djoser 2023-02-28 00:44:07 +08:00
d050013571 Added api urls 2023-02-28 00:26:48 +08:00
78e776177d Initial commit 2023-02-27 23:59:14 +08:00