Allocate is a comprehensive tool developed for the purpose of staffing and management, ensuring the optimal utilization of talent resources within an organization. It achieves this by meticulously considering various factors such as individual skills, professional experience, and current availability.
Allocate uses Nx monorepo setup for both client-side and server side of the application test change
- Node: version >=20.x
- PostgreSQL: version ==14.6
- Python: version >= 3.10.10
- Poetry
- A C compiler
- python-dev or python3-dev
- libpq-dev
Set environment variables within each apps as mentioned in the .env.example to run on local.
# Install dependencies
npm install
# View graph of the workspace
npx nx graph
# View project details
npx nx show project <app name> --web
# Run development for client app
npx nx serve ui
# Run to initialize service app for first time
npx nx run service:app-init
# Update your user permissions (if --role is not passed it takes default as super_admin)
npx nx run service:manage manage_user_groups --email=<your email> --role=<role name> --create
# Run development for server app
source apps/service/.env
npx nx serve service
To execute tests with Nx use the following syntax:
npx nx run-many -t test -p ui service
Refer the Nx Documentation for more CLI commands that can be used.
test
Set environment variables within each apps as mentioned in the .env.example to run on local
docker compose up
Please see our contributing guide.