The client of Bundle Analyzer, available in production on https://app.bundle-analyzer.com.
A static application deployed automatically by Netlify.
The server of Bundle Analyzer, available in production on https://api.bundle-analyzer.com.
A Node.js application deployed automatically by Heroku.
The docs of Bundle Analyzer, available in production on https://docs.bundle-analyzer.com.
A static application deployed automatically by Netlify.
- Be sure to use the correct Node.js version specified in
.nvmrc. - Install dependencies at the root of the repository:
yarn. - Setup environment variables:
- Copy
apps/client/example.envto.envand fill the values (available in OnePassword). - Copy
apps/server/example.envto.envand fill the values (available in OnePassword).
- Start database and RabbitMQ, at the root of the repository:
docker-compose up -d. - Initialize the database, at the root of the repository:
yarn setup. - Run the project in development:
yarn dev.
- The app is available at
http://localhost:8080 - The API is available at
http://localhost:3000 - A GraphQL Playground is available at
http://localhost:3000/graphql - A RabbitMQ interface is available at
http://localhost:15672(guest / guest)
To create a new migration, run the following command at the root of the repository:
yarn workspace server knex migrate:make <name-of-migration>To run migrations, run the following command at the root of the repository:
yarn workspace server db:migrateTo reset database, run the following command at the root of the repository:
yarn workspace server db:reset