Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DBAdventure/api

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

229 Commits
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

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.