The main features are described in Readme file in GitHub repository. Here I will describe the installation.
Download the project using GitHub CLI = https://github.com/Igor-Shishkin/CRM-system.git
- enter your username and password for the SQL database:
spring.datasource.username=YOUR_SQL_USER_NAME
spring.datasource.password=YOUR_SQL_PASSWORD - if necessary, change the database name
- you can set the address and password for your mailbox to send letters:
spring.mail.username=YOUR_MAILBOX_USERNAME
spring.mail.password=YOUR_MAILBOX_PASSWORD
password - you need to set a special code in your mail settings to log in from applications - if you want, you can change the initial data for the administrator (the user is automatically added to the database to add new ones)
app.crm.admin.name=admin
app.crm.admin.password=000000
In one terminal window run cd server && docker-compose up
In another terminal window run mvn clean install -U -DskipTests && mvn spring-boot:run
In yet another terminal window run (if you haven't try terminator!) npm install && ng serve --port 8081
If everything is installed successfully, you can open the browser and launch the application by entering in the address bar:
- login: admin
- password: 000000
If you want to test the application and have loaded data from src/main/resources/sql_schema.sql file into the database, you can also log in as the following users:
- with USER_ROLE:
- login: user
- password: 000000
- with USER_ROLE and ADMIN_ROLE:
- login: user-admin
- password: 000000