Swap - Simplifying shift exchanges
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
app Allow empty shifts on imports Sep 5, 2018
bootstrap
config Add sentry config Sep 3, 2017
database
public
resources Add Facebook link (#13) Oct 17, 2018
routes Refactor account verification Aug 29, 2017
storage
tests Add command to resend confirmation e-mail and ensure lower case Feb 2, 2018
.coveralls.yml Setup coveralls Aug 30, 2017
.env.example Update readme and example Aug 23, 2017
.gitattributes
.gitignore Add yarn-error.log to .gitignore (#10) May 9, 2018
.gitlab-ci.yml
.php_cs Add ordered_class_elements rule to code standard Aug 29, 2017
.travis.yml Add PHP 7.2 to Travis CI config Feb 18, 2018
LICENSE Add license Aug 23, 2017
artisan
composer.json Replace BugSnag with Sentry Sep 3, 2017
composer.lock Update packages Mar 31, 2018
package.json
phpunit.xml Setup coveralls Aug 30, 2017
readme.md
server.php Base project Jun 20, 2017
webpack.mix.js Base project Jun 20, 2017
yarn.lock Change package.json Aug 25, 2017

readme.md

TravisCI Status Coverage Status StyleCI Status ScrutinizerCI Status

About Swap

Swap simplifies the control of enrollments and shifts exchanges for both students and teachers. The project is developed considering the following features:

  • Students enroll in the available courses;
  • Shifts are assigned to enrollments by teachers;
  • Students propose and confirm shift exchanges among them.

This project was developed with the Board of Directors of the University of Minho Informatics Engineering Integrated Masters and counts on several Hackathonners who either concluded the aforementioned Masters or are in the process of doing so.

Requirements

  • PHP 7.1+
  • PostgreSQL database
  • Composer - Installs package dependencies
  • NodeJS - Provides NPM to install node packages
  • Yarn - Provides a fast, reliable and secure node package manager.

Installation

  • Clone or download this repository.
  • Rename .env.example to .env and fill the options

Note: This project sends e-mails. Therefore, ensure that the e-mail driver is specified.

  • Install project dependencies:
composer install
yarn install
  • Generate application key:
php artisan key:generate
  • Migrate and seed the database:
php artisan migrate
php artisan db:seed
  • Build assets (e.g. in development environment)
npm run dev
  • Start local server
php artisan serve

License

The Swap project is open-sourced software licensed under the MIT license.