/rest_api

labs api

Primary LanguageC

API REST

Ctations REST API

The citation Api provides access to general citations

Tool kit

How to run

  • Install mysql

  • Install dev lib

sudo apt install default-libmysqlclient-dev go to init_database.c and ./src/sql_requests.c in functio mysql_real_connect(con, "localhost", "root", "", NULL, 0, NULL, 0) put your mysql user in "root" and password in "". Creat db and table with make db and ./a.out.

Api inicialize with make or make all and ./api.out

image

Cli

For view api logs. run cli make cli and ./cli.out image

Api test make test and ./a.out