migrate to c++, all layers done except for data access
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
#include <cstdlib>
|
||||
#include <vector>
|
||||
|
||||
#include "include/dao.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
void Dao::populate_env() {
|
||||
this->api_key = getenv("FRONTEND_API_KEY");
|
||||
this->db_url = getenv("DB_URL");
|
||||
}
|
||||
|
||||
ticket_t Dao::fetch_ticket_create(string title, string description) {
|
||||
|
||||
}
|
||||
|
||||
vector<ticket_t> Dao::fetch_ticket_get_all() {
|
||||
|
||||
}
|
||||
|
||||
vector<ticket_t> Dao::fetch_ticket_get_by_status(string status) {
|
||||
|
||||
}
|
||||
|
||||
ticket_t Dao::fetch_ticket_get_by_id(unsigned long id) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user