Skip to content

jesperlandmer/1dv610-Laboration-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Implemented?

For a better view of what is implemented and what is to come, please visit the Project Page.

Alternatively, you could visit our Open Issues or Closed Issues to view which use cases are implemented or not.

How to test?

UC1 - UC4 are testable using the Automatic Test Application. Make sure you type in the right URL for the application, and type in username and password for an existing user.

Testing instructions for UC5 and UC6 are defined in their corresponding issues.

How to install?

First check your PHP version

php -v

The application requires the latest stable PHP version 7.1.6

To install the application on a local server, download any solution stack containing Apache, MySQL and PHP. Pull the repository files, and add them to .htdocs.

To install the application on a public server, I suggest using Digital Ocean. I recommend checking out "How To Set Up Automatic Deployment with Git with a VPS" on Digital Ocean.

Also, don't forget to setup your MySQL Table. I'd suggest just making a simple user table, like this:

+----------+-------------+------+-----+---------+----------------+
| Field    | Type        | Null | Key | Default | Extra          |
+----------+-------------+------+-----+---------+----------------+
| user_id  | int(11)     | NO   | PRI | NULL    | auto_increment |
| username | varchar(80) | NO   | UNI | NULL    |                |
| password | text        | NO   |     | NULL    |                |
+----------+-------------+------+-----+---------+----------------+

Don't forget to set the variables for your Database host, name, pass and table defined in PDOService.php. My suggestion is to create class called PDOVariables and add the needed database info to well represented constants.

About

Repository for the 1DV610 Laboration 3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages