An application for collecting points for reporting on colleagues, inspired by a meme
- Spring Boot
- Gradle
- Vue.js
- Vuex
(click to enlarge)
You'll need:
- Java (at least Java 8, tested with Java 11)
- Gradle
- Any relational database
Steps:
- Create database
- Create
application_properties
file insidesnitch-backend\api\src\main\resources
with
spring.jpa.hibernate.ddl-auto = update
spring.jpa.show-sql = false
spring.datasource.url = #DB ADDRESS
spring.datasource.username = #DB USERNAME
spring.datasource.password = #DB PASSWORD
#SECURITY
snitch.app.jwtSecret=snitchSecretKey
snitch.app.jwtExpirationMs=86400000
snitch.app.adminEmail= #INITIAL ADMIN EMAIL
#Email configuration
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username= #EMAIL FOR IN-APP EMAIL NOTIFICATION SYSTEM
spring.mail.password= #EMAIL PASSWORD
spring.mail.properties.mail.smtp.auth=true;
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
(After first run tables inside database will be created and email with initial admin password will be sent to email given in snitch.app.adminEmail
)
- Inside
snitch-backend
directory run command
gradle bootRun
or use IDE
You'll need
- node
- npm
Steps:
- Inside
snitch-frontend\etc
setVUE_APP_BASE_URL
to match your backend address - Inside
snitch-frontend
directory run commands
(Only before first run)
npm install
To run app
npm run serve
or use IDE
- kryras - Frontend
- szadek97 - Backend
- Forestf90 (Michał Śliwa) - Backend