Commit graph

9 commits

Author SHA1 Message Date
11766499bc
Added Subject, Course, Requirement models and relations for them 2021-11-20 02:51:00 +01:00
dbf093e72e
Implement authentication on frontend
- Added error handling on login
- Added login support, fixed register
- Added logout support on backend and frontend
- Changed role to isAdmin
- Added permission checking to menu
2021-11-19 18:19:45 +01:00
cfc3d48a7b
Fix JWT authentication, add custom user service 2021-11-16 22:28:56 +01:00
ee2d7b4838
Add registration endpoint with validation and attempt to add JWT authentication 2021-11-16 02:10:35 +01:00
aa6f3f51de
Fix backend production deploy and database connection
- Fixed database URL locally and in production
- Set separate DB user just to be safe
- Migrate DB schema on each launch
- Use node user during dev but use root during deploy
- Fix output of the dev container (tsc-watch --noClear)
2021-11-15 22:47:41 +01:00
c62925daf7
Add Heroku deploy and frontend/backend deploy scripts
- Added local DB container
- Added scripts to deploy frontend/backend by running the deploy command in the containers
- Installing Docker and Heroku CLI in the dev backend container to be able to build and push the container without installing the CLI on the host
- Building and pushing the production container to the Heroku Container Registry
2021-11-15 20:34:45 +01:00
828fd52302
Add production database, user model and controller 2021-11-10 17:10:20 +01:00
8e855fd454
Add build watching for backend project 2021-11-09 22:57:51 +01:00
0e684a69be
Add backend app with basic Docker support 2021-11-09 21:52:42 +01:00