https://github.com/pagepro/dinnerapp
https://github.com/pagepro/dinnerapp
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pagepro/dinnerapp
- Owner: Pagepro
- Created: 2015-12-08T10:05:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-08T10:06:24.000Z (over 9 years ago)
- Last Synced: 2025-03-22T06:01:43.778Z (2 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dinner App
### Goal of project
Main goal was to help to organize dinners ordering in out company. It allows user to pick particular dinner, choose if (s)he wants soup and then save it to data base. Admin user can block picks to avoid picking after order.
### Dependencies
Project is written in Javascript, fully in AngularJS. It using:
- bootstrap - gives application it's appearance
- ui-router - responsible of routing in app
- toaster - little notification library, showing user statuses
- chart.js - library for creating charts and plots, this allows to show data in graphical mode.### Installation
Firstly, install packages by: `(sudo) npm install` and `bower install` (some packages are available only by bower).
If you want to run sass compiler, type: `gulp`. Backend of application is written in php, so if you want to run application locally, you need to run it through with for example `apache` and upload mysql database. For database conf file contact with application administrator.#### Fake database
If you want to use fake db, you have to install json-server, by: `(sudo) npm install -g json-server`, run this fake server by: `json-server --watch fakedb.json` (file `fakedb.json` is included in project) then change part of `environmentSrv.js` file into:
```
/* main database */
// var apiBase = 'api/v1/';/* fake database */
var apiBase = 'http://localhost:3000'
```