#Emilena
- Node.js v6.1.0
- npm v3.9.2
- webpack
- Angular 2 RC4
- TypeScript
##Engineering debt
Angular 2 requires updating to final release.
##Release v1.0
- Appointments - staff to client (check for overlaps) - Do this on the backend!
- Edit functions - staff & client
- Absences
- Alerts
- Then polish - favicon, bug fixing (validations etc)
- deployment!
##Release v2.0
- Expenses
- E-mail alerts
- Text messaging alerts
- Configurable options for staff and contract types.
##Security
2 types of Roles
- ADMIN
- SYSTEM
###ADMIN
- Grants system wide access
- This includes adding, deleting staff members
- This includes adding, deleting clients
- This includes setting up new users of the system with both ADMIN and SYSTEM roles
- Access to updating appointments, and the calendar
###SYSTEM
- Grants read-only access
- This includes read-only access to client information
- This includes read-only access to appointments and the calendar
##PSQL Cheat Sheet:
https://www.postgresql.org/docs/9.3/static/app-psql.html
dropdb emilena createdb emilena psql emilena
psql -d emilena -a -f admin.sql
##Notes for documentation and presentation
- Background
- Purpose/Overview/Benefits
- Use cases
- Validation
- Security
- Quality
- Data compliancy
- Technical concerns
- Summary
##AWS
For the db connection (ADD THIS TO THE YML):
driverClass: org.postgresql.Driver url: jdbc:postgresql://emilena.cyzjmm8gvb01.eu-west-1.rds.amazonaws.com:5432/emilena
##Jenkins
http://52.51.232.117:2030 - AWS EC2 - note the port
##Docker
####Emilena-API
- docker build -t emilena-api .
- docker run -p 9090:9090 emilena-api
#####Emilena-WEB
- docker build -t emilena-web .
- docker run -p 80:80 emilena-web
##design
##backend
The backend repository is at https://github.com/DystopianProgrammer/emilena-api