No description
| src | ||
| .env.example | ||
| .gitignore | ||
| build.sh | ||
| Dockerfile | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite.config.js | ||
One.com Asana Incidents Viz
This is a single page application written using React and Tailwind css, and uses (Vite JS)[https://vitejs.dev] as the bundler/dev server.
This project heavily relies on the Asana v1.0 API and thus any changes to the API will result in a non-functioning viz tool.
Development setup
- Clone this repo
- Install node dependencies:
npm install - Copy the
.env.examplefile as.env.localand fill in the required values. - Run the local dev server:
npm run dev
Note: Asana API URI can be set as https://app.asana.com/api/1.0
Deployment
- Clone this repo
- Install node dependencies:
npm install - Either follow step 3 from the development setup OR provide the same variables to the build context
- Run the build command:
npm run build - Deploy the
distdirectory to any web server of your choice
Docker Build
This app can be built using docker!
- Clone this repo
- Run
docker build -t oneviz . - Run `docker run -it --rm -v $(pwd)
- Deploy the dist directory to any web server of your choice
Note: Make sure you don't copy the node_modules folder if you are making a zip.
License
This project is licensed under MIT.