- Java
- Spring Boot
- Maven (package manager to manipulate with dependecies)
- Lombok
1. Clone the application
git clone https://github.com/notas4int/vk-bot-test-task.git
2. Change PostgreSQL username and password as per your installation
- open
src/main/resources/application.properties
- change
vk.api.secret-token
,vk.api.secret
andvk.api.version
as your bot's configuration
3. Download and start ngrok (https://ngrok.com/)
4. Configure token after register
ngrok config add-authtoken <token>
and start
ngrok http 8080
!also change your bot's ip to suggested by ngrok!
5. Run the app using maven
mvn spring-boot:run
The app will start running at http://localhost:8080