Commit graph

27 commits

Author SHA1 Message Date
Norbi Peti 79fb876da8
Specify the columns at the specific component 2022-01-21 17:20:01 +01:00
Norbi Peti fc995858e6
Add custom material table and list components
Automatically querying the specified endpoint for the list data
2022-01-21 17:10:36 +01:00
Norbi Peti e4ff4f5acf
Get page title from routes, including for menu items
- Fixed the user always being set to root instead of node because of the $USERNAME variable
2022-01-20 17:56:29 +01:00
Norbi Peti dd375b6948
Store auth info in local storage 2022-01-12 23:50:02 +01:00
Norbi Peti bd07e1a306
Moved auth and new user list component to separate modules 2022-01-12 23:08:48 +01:00
Norbi Peti 11766499bc
Added Subject, Course, Requirement models and relations for them 2021-11-20 02:51:00 +01:00
Norbi Peti 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
Norbi Peti cfc3d48a7b
Fix JWT authentication, add custom user service 2021-11-16 22:28:56 +01:00
Norbi Peti ee2d7b4838
Add registration endpoint with validation and attempt to add JWT authentication 2021-11-16 02:10:35 +01:00
Norbi Peti 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
Norbi Peti 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
Norbi Peti 828fd52302
Add production database, user model and controller 2021-11-10 17:10:20 +01:00
Norbi Peti 8e855fd454
Add build watching for backend project 2021-11-09 22:57:51 +01:00
Norbi Peti 0e684a69be
Add backend app with basic Docker support 2021-11-09 21:52:42 +01:00
Norbi Peti 49480c5d67
Add production build and deploy command 2021-11-09 01:55:57 +01:00
Norbi Peti 59eba56153
Make it work with Docker Compose and remove Firebase API from code 2021-11-08 23:53:39 +01:00
Norbi Peti c3f94cca45
Move to frontend folder 2021-11-08 22:10:03 +01:00
Norbi Peti 4cb3a29aef
Rule update 2021-01-29 01:46:40 +01:00
Norbi Peti 5650dada42
Update rules and add pass min length validator 2021-01-27 23:57:51 +01:00
Norbi Peti b3291391ff
Login/logout, Firestore rules, readme 2020-12-15 00:29:45 +01:00
Norbi Peti 9ae5c9e9a6
Move nav component to be the app component 2020-12-14 21:51:46 +01:00
Norbi Peti 99549b0429
Firebase autoconfig workaround, registration works 2020-12-14 21:02:20 +01:00
Norbi Peti debb63f2e2
Firebase local hosting works
ng build --watch
firebase serve
2020-12-11 01:25:22 +01:00
Norbi Peti 2932b08bfb
Move validation to register page, Firebase setup 2020-12-11 00:59:23 +01:00
Norbi Peti a55b36746e
Login form with validation 2020-12-10 23:48:31 +01:00
Norbi Peti 82d204b2d2
Login page, routing, material 2020-12-10 19:08:35 +01:00
Norbi Peti 7186237b76
Initial commit 2020-11-24 21:54:32 +01:00