Skip to content
DBAdventurePublic

About

DBAdventure api

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

229 Commits

Folders and files

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

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages