Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isaka-james/b
Behavior Discipline System.
https://github.com/isaka-james/b
backend behaviour behaviour-management java spring-boot springboot system
Last synced: about 1 month ago
JSON representation
Behavior Discipline System.
- Host: GitHub
- URL: https://github.com/isaka-james/b
- Owner: isaka-james
- Created: 2024-08-15T02:56:14.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T13:50:23.000Z (about 1 month ago)
- Last Synced: 2024-11-27T14:39:19.020Z (about 1 month ago)
- Topics: backend, behaviour, behaviour-management, java, spring-boot, springboot, system
- Language: Java
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Behaviour Management System
## How to run the System
### CREDIDENTIALS```json
{
"username":"isaka",
"password":"admin",
"first_name":"Isaka",
"last_name":"James",
"born":"2024-10-09",
"gender":"Male",
"email":"[email protected]"
}
```
So you will use `username` as `isaka` and `password` as `admin`. Or you can create your own credentials.### First Commands
It is better to run a docker in another session, don't just run the `./mvnm spring-boot:run` which automatically run the docker compose up to turn on the postgres.
```bash
docker compose up
```To create the keypairs,
```bash
openssl genrsa -out keypair.pem 2048
```And follows by public key,
```bash
openssl rsa -in keypair.pem -pubout -out public.pem
```And generating the private key,
```bash
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in keypair.pem -out private.pem
```And you can delete the keypair.pem, And moving the public key and private key to the /src/main/resources/certs folder.