-
Notifications
You must be signed in to change notification settings - Fork 1
Deliverable 4 Bonus Points
- Use a typed query created from an SQL command:
In our backend we used a typed query to match employers company name with coop position’s company name. Then we called it in controller with “/irmak” endpoint
- Student ID
In out frontend, we displayed the student ID of the student who applied to coop position, and our frontend doesn’t allow to change the student id
Error handling
- Login: Doesn’t allow us to login without an employer id exists
- Error 1: no input – Asks the user to put an input
- Error 2: wrong employer id- Asks the user to create an account
- Error 3: non numerical input – doesn’t allow
- Create Account:
- If either employer ID, username, password or company name is not provided, it doesn’t allow to create an account. It displays which ones are not given.
- Start Confirmation:
- All the text bars should be provided to start confirmation -displays error otherwise
- Confirm completion:
- All the text bars should be provided to confirm completion -displays error otherwise
How to run Frontend?
- Once we push to git, the frontend will be automatically depoloyed using Travis
Frontend link: https://coop-frontend-g8.herokuapp.com/
How deploy run Backend?
- Once we push to git, the backend will be automatically depoloyed using Travis
Trying functionalities:
-
Before we get into the website we can follow these steps to test functionality:
-
Creating coopPositions for Google in Backend:
-
- https://coop-backend-g8.herokuapp.com/CoopPosition/100?PositionName=Hardware Intern&CompanyName=Google&startDate=2020-12-12&endDate=2020-12-15
*Creating Student in Backend:
-
Assigning Student to Coop Position in backend:
-
Using Frontend we can create and employer with Company Google
-
Now we can see the Coop Position created in the Coop Position button. Also once we select the coop position, it will display the ID of the student associated with that coop position.