Permacoop is an open source and eco design ERP solution reserved for worker-owned business.
- Node.js / Nestjs
- TypeORM
- Typescript
- Jest / Ts-mockito
- Svelte / Sapper
- Tailwind CSS
- PostgreSQL
- Redis
- Docker
You must have Docker and Docker Compose.
Ensure you have Node.js v14.3 and node-gyp
installed globally (npm install -g node-gyp
). (Node version should match to avoid any build issues with binary dependencies such as argon2
.)
At the first launch, just execute this command to install your application :
make install
For the next times you just need to execute this command to start your application :
make start
The server and client will be started:
- API documentation available on http://localhost/api
- Client avaible on http://localhost/
The client must send the user apiToken
in the Authorization header when making requests to protected resources : Authorization: Bearer <apiToken>
At the installation of the project a default user was created :
{
"email": "[email protected]",
"password": "john"
}
To retrieve the apiToken
, make a post request on /login
with a user email and password.
This following command will display all available helpers :
make help
Run the unit test suite with this following command:
make test
- Tasks management
- Projects management
- Customers management
- Calendar (timesheets etc.)
- Human Resources
- Meal tickets
- Leaves
- Cooperators / employee
- Savings records
- Accounting
- Quotations
- Daily rates
- Invoicing
- Contacts managment
Created by Fairness