https://github.com/jvillegasd/projectify-test
A simple backend api for project productivity management
https://github.com/jvillegasd/projectify-test
Last synced: 7 months ago
JSON representation
A simple backend api for project productivity management
- Host: GitHub
- URL: https://github.com/jvillegasd/projectify-test
- Owner: jvillegasd
- Created: 2021-07-24T19:08:40.000Z (about 4 years ago)
- Default Branch: aws
- Last Pushed: 2021-07-26T22:00:52.000Z (about 4 years ago)
- Last Synced: 2025-03-09T00:07:27.554Z (7 months ago)
- Language: Python
- Size: 56.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Projectify
Tecnical test for [Leanware](https://www.leanware.io)
# Run project locally
This project is dockerized, so all you have to do is to type this command line: `docker-compose up -d`
## Environment variables
```
FLASK_PORT=5001REDIS_URL=
REDIS_PORT=MONGODB_PORT=
MONGODB_ROOT_USERNAME=
MONGODB_PASSWORD=
MONGODB_SERVER=
MONGODB_DATABASE=
MONGODB_URL=SALT_ROUNDS=
SECRET_KEY=
BUCKETEER_AWS_ACCESS_KEY_ID=
BUCKETEER_AWS_REGION=
BUCKETEER_AWS_SECRET_ACCESS_KEY=
BUCKETEER_AWS_PUBLIC_URL=
BUCKETEER_BUCKET_NAME=
```## Report table schema
This is the schema to follow when a user wants to upload a report file```markdown
| project_id | report_date | dedication_percentage |
|--------------------------------------|-------------|-----------------------|
| 290ac198-424f-428b-a63f-6bde2e20d583 | 2/06/2021 | 60.1 |
| ... | ... | ... |
| | | |
```## Week days
Week days under ISo standard was handled using Python's library datetime. The method used was `isocalendar()`.
Week days is used for make validations around duplicate reports on the same week.