@@ -39,7 +39,7 @@ Additionally, the application provides the following features:
4. Set database variables to your environment variables (see application.properties)
5. Set jwt secret to your environment variables (see SecurityConfig.java)
Mdea kas see on okei kui meil on erinevad secretid, aga ma kasutasin seda koodijuppi mis genereeris mingi suva secreti (selle paned oma environmental variables juurde) (see on lihtsalt abi meetod, seda pole meie projektis)
The following code can be used to generate a jwt secret for your variable.
```
import java.security.SecureRandom;
import java.util.Base64;
...
...
@@ -55,11 +55,13 @@ public class GenerateJWTSecret {
}
```
6. Run the application
7. The application will run on port 8080
#### Frontend
1. Move to the frontend directory
2. Run `npm install`
3. Run `npm run serve`
4. The frontend will run on port 8081
### Contributing
...
...
@@ -68,7 +70,7 @@ The following members contributed to this project:
### License
This project is owned by the Estonian Wildlife Center and is not open source.
This project is owned by the Estonian Wildlife Center.
### Documentation
...
...
@@ -91,7 +93,7 @@ What happens when user logs in:
What the user can do after logging in:
- The user can navigate between the different pages of the application defined in the navigation bar.
- The user can navigate between the different pages of the application defined in the navigation bar. (the pages depend on the uer role = rights)