Skip to content

DBAdventure/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

229 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBAdventure Build Status

DBAdventure, the backend api!

Requirements

Configuration

Alternatively, you can configure a fully-featured web server like Nginx or Apache to run the application.

Installation

You must have created a pgsql database.

$ ./scripts/setup.sh
$ psql -U DB_USER -W DB_NAME < var/sql/schema.sql
$ psql -U DB_USER -W DB_NAME < var/sql/map.sql
$ psql -U DB_USER -W DB_NAME < var/sql/data.sql
$ psql -U DB_USER -W DB_NAME < var/sql/todo.sql # Currently spells 

Tests

Execute this command to run tests:

$ ./scripts/test.sh

To run static tests (PHPMD, PHPCS)

$ ./scripts/test.sh static

To run unit tests

$ ./scripts/test.sh unit

About

DBAdventure api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published