You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the mono-repository for the backend services and their common codebase
4
6
7
+
8
+
5
9
## Getting started
6
10
Follow the following instructions to get the project ready to use ASAP.
7
11
12
+
8
13
### Requirements
9
14
Be sure you have installed in your system
10
15
@@ -42,35 +47,6 @@ automatically [pip](https://pip.pypa.io/en/stable/) as well.
42
47
43
48
Remember to do it with Python 3.
44
49
45
-
46
-
- Install the [Microsoft ODBC Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/odbc/microsoft-odbc-driver-for-sql-server?view=sql-server-ver15)
47
-
in your operative system. Then you have to check out what is the name of the SQL Driver installation.
48
-
Check it out with:
49
-
50
-
```bash
51
-
vim /usr/local/etc/odbcinst.ini
52
-
```
53
-
54
-
It may display something like
55
-
56
-
```.ini
57
-
[ODBC Driver 17 for SQL Server]
58
-
Description=Microsoft ODBC Driver 17 for SQL Server
59
-
Driver=/usr/local/lib/libmsodbcsql.17.dylib
60
-
UsageCount=2
61
-
```
62
-
63
-
Then specify the driver name, in this case _DBC Driver 17 for SQL Server_ in the `SQL_DATABASE_URI`, e.g.:
64
-
65
-
```.dotenv
66
-
SQL_DATABASE_URI=mssql+pyodbc://<user>:<password>@time-tracker-srv.database.windows.net/<database>?driver\=ODBC Driver 17 for SQL Server
67
-
```
68
-
69
-
To troubleshoot issues regarding this part please check out:
70
-
-[Install the Microsoft ODBC driver for SQL Server (macOS)](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos?view=sql-server-ver15).
71
-
- Github issue [odbcinst: SQLRemoveDriver failed with Unable to find component name](https://github.com/Microsoft/homebrew-mssql-preview/issues/2).
72
-
- Stack overflow solution to [Can't open lib 'ODBC Driver 13 for SQL Server'? Sym linking issue?](https://stackoverflow.com/questions/44527452/cant-open-lib-odbc-driver-13-for-sql-server-sym-linking-issue).
73
-
74
50
### How to use it
75
51
- Set the env var `FLASK_APP` to `time_tracker_api` and start the app:
76
52
@@ -89,6 +65,13 @@ To troubleshoot issues regarding this part please check out:
89
65
a link to the swagger.json with the definition of the api.
90
66
91
67
68
+
### Important notes
69
+
Due to the used technology and particularities on the implementation of this API, it is important that you respect the
70
+
following notes regarding to the manipulation of the data from and towards the API:
71
+
72
+
- The [recommended](https://docs.microsoft.com/en-us/azure/cosmos-db/working-with-dates#storing-datetimes) format for
73
+
DateTime strings in Azure Cosmos DB is `YYYY-MM-DDThh:mm:ss.fffffffZ` which follows the ISO 8601 **UTC standard**.
0 commit comments