Welcome to my Demo SportKing API This demo application runs on springboot technology (JAVA) . It consists of:
- Spring Security for user authentication and authorization
- JWT Authentication
- MySql Database connection
- Flyway for database version control
- File upload and view capabilities
Step 1: Run the application on your compiler or using java -jar
Step 2 : Define Roles to the roles table
SQL Query:
DELETE FROM roles;
INSERT INTO roles(name) VALUES('ROLE_USER'); INSERT INTO roles(name) VALUES('ROLE_MODERATOR'); INSERT INTO roles(name) VALUES('ROLE_ADMIN');
Step 3: Check the endpoints on swagger using the url