Updated more UI. Enhanced login capabilities. Started work on querying data.

This commit is contained in:
Gnarwhal 2021-02-07 22:50:48 -05:00
parent 40a0e4046a
commit 052052d76b
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
29 changed files with 706 additions and 424 deletions

View file

@ -0,0 +1,40 @@
package achievements.services;
import achievements.data.Achievement;
import achievements.data.Game;
import achievements.data.Profile;
import achievements.misc.DbConnectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
import java.sql.Connection;
import java.util.List;
@Service
public class DataService {
@Autowired
private DbConnectionService dbs;
private Connection db;
@Autowired
private AuthenticationService auth;
@PostConstruct
private void init() {
db = dbs.getConnection();
}
/*public List<Achievement> getUsers() {
}
public List<Game> getGames() {
}
public List<Profile> getProfiles() {
}*/
}