Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fadyat/asana-tools
Some useful asana scripts
https://github.com/fadyat/asana-tools
asana-api
Last synced: 16 days ago
JSON representation
Some useful asana scripts
- Host: GitHub
- URL: https://github.com/fadyat/asana-tools
- Owner: fadyat
- Created: 2022-09-09T12:45:59.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-01T17:28:38.000Z (10 months ago)
- Last Synced: 2024-03-02T17:58:07.354Z (10 months ago)
- Topics: asana-api
- Language: TypeScript
- Homepage:
- Size: 1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Asana-tools
This is a collection of tools for working with Asana.
### Functionality
- OAuth2 authentication with Asana
- Creating mass tasks by parsing a CSV file and template task
- Creating a report of all tasks in a project during a given time period### Before deploy
- Create a new Asana app at https://app.asana.com/-/account_api
- Set the redirect URI, example: `http://localhost:80/api/v1/callback`
- Set the environment variables `ASANA_CLIENT_ID` and `ASANA_CLIENT_SECRET` to the values from the Asana app### Deploy
#### Backend
- Make `.env` file with the following variables:
```dotenv
ASANA_CLIENT_ID=
ASANA_CLIENT_SECRET=
JWT_SECRET_KEY=
```- Build and run container:
```shell
$ cd backend
$ docker-compose up --build asana-tools-backend
```#### Frontend
- Make `.env` file with the following variables:
```dotenv
# Omit all '/' at the end of the url, example: http://localhost:80
REACT_APP_ASANA_TOOLS_HOST=
REACT_APP_HELPSHIFT_ALERTS_HOST=
# It's not secure to store the api key in the frontend, but it's a temporary solution
REACT_APP_HELPSHIFT_API_KEY=
REACT_APP_VERSION=
```- Build and run container:
```shell
$ cd frontend
$ docker-compose up --build asana-tools-frontend
```#### Usage
- Go to frontend url, for example: `http://localhost:3000/`
- Click login button and follow the instructions