REST Endpoints¶
This is a high-level overview of the REST API endpoints available in Atlas ERP.
Note: For interactive and fully detailed documentation, start the backend server and navigate to
http://localhost:3001/api/docsto view the Swagger/OpenAPI UI.
Authentication (/api/v1/auth)¶
POST /login- Authenticate userPOST /register- Register a new userPOST /select-workspace- Set the active workspace contextPOST /logout- Invalidate session
Workspace (/api/v1/workspace)¶
GET /- List user's workspacesPOST /- Create a new workspaceGET /:id- Get workspace detailsGET /members- List members of the active workspacePOST /invites- Invite a user to the workspace
Projects (/api/v1/projects)¶
GET /- List projects in active workspacePOST /- Create a new projectGET /:id- Get project detailsPATCH /:id- Update project
Tasks (/api/v1/tasks)¶
GET /- List tasksPOST /- Create a taskPATCH /:id- Update a taskPOST /:id/time-logs- Add a time log to a task
Finance (/api/v1/finance)¶
GET /accounts- List chart of accountsPOST /invoices- Create a new invoiceGET /invoices/:id- Get invoice detailsPOST /payments- Record a paymentPOST /journals- Create a manual journal entryGET /reports/balance-sheet- Generate balance sheet
Human Resources (/api/v1/hr)¶
GET /employees- List employeesPOST /employees- Onboard a new employeeGET /attendance- Get attendance recordsPOST /leaves- Submit a leave applicationPOST /payroll/run- Trigger a payroll generation run
(Refer to the live Swagger documentation for exact request payloads and query parameters).