**This is an old revision of the document!**
Table of Contents
Local dev environment
Front-end
.env file
#export API_HOST=https://api.dev.x-hr.ai --> use dev stack backend export API_HOST=http://localhost:8080 --> use local backend (devlocal repo, identitiy-management-service?? as proxy)
AI agent
platform-frontend-app/src/shared/services/sse/SseServiceImpl.ts:54-56
//const baseUrl = this.getBaseUrl()
const baseUrl = "http://localhost:8080" --> Agent-service backend
const url = `${baseUrl}${path}
identitiy-management-service
Insert dummy user:
'
psql -h localhost -p 5432 -U admin -d authdb -c “INSERT INTO \”public\“.\”users\“ (\”iduser\“, \”username\“, \”email\“, \”status\“, \”fktenant\“, \”source\“, \”password\“, \”requirespasswordchange\“, \”lastpasswordchangeat\“, \”emailverificationrequired\“, \”emailverified\“, \”createdat\“, \”updatedat\“) VALUES ('df109bb1-e781-4b45-b4e8-f7731aec674f', 'demo', 'demo@demo.com', 'ACTIVE', 1, 'LOCAL', '\$2b\$12\$xVrz/Fc0By6avjI5nEcxIOOCo6fXKUxtBZ8WEbMnWlzasjVTdi2rq', 'f', NULL, 'f', 'f', CURRENTTIMESTAMP, CURRENTTIMESTAMP);”
'