0% found this document useful (0 votes)
12 views3 pages

COMP3133 Assignment 1 W2023

gbc full stack assignment 1 sem 6

Uploaded by

enessertkan451
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

COMP3133 Assignment 1 W2023

gbc full stack assignment 1 sem 6

Uploaded by

enessertkan451
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment – I (12%)

COMP 3133 – Full Stack Development – II

Submission: Sunday, 18th Feb 2024, 11:59 PM

No extension or late submission will be allowed. Late submission will be


awarded ZERO points.

As a newly hired Jr. Software Engineer my manager assigned me a task to


develop Backend application using NodeJS, Express, GraphQL and
MongoDB. He also wants me to apply my VCS (GitHub) skills to develop these
projects where I will commit and push all my code to
Student#_COMP3133_Assignment1 repository.

Following is the list of to develop which accept all data as


JSON Object whenever needed:

Sr. # Method Operations Description Points


1 Mutation Signup Allow user to create new account 10
2 Query Login Allow user to access the system 05
Get all
3 Query User can get all employee list 10
employees
Add New
4 Mutation User can create new employee 10
employee
Search User can get employee details by
5 Query 10
employee by eid employee id
Update User can update employee
6 Mutation 10
employee by eid details
Delete employee User can delete employee by
7 Mutation 05
by eid employee id

MongoDB Database name: comp3133_assigment1

Users Collection
Field Name Type Constraint
_id Object ID Auto Generate and not needs to
add the fields in model
username String Primary Key
email String Unique
password String May be encrypted with other fields

User can login using username/email and password

Employee Collection
Field Name Type Constraint
_id Object ID Auto Generate and
not needs to add
the fields in models
first_name String Required
last_name String Required
email String Unique
gender String Male/Female/Other
salary Float Required

Notes:
- Implement GraphQL API using Apollo server
- Test GraphQL API using GraphiQL OR Postman
- Validate the input data whenever required
- Return error details or success response details whenever required
- All data must be sent back and forth in JSON Object format
- Optionally apply JWT security concept to secure all your API calls
- No late submission accepted

Submission:
1) Make single docx file with all labeled screenshots.
2) MongoDB console screenshots.
3) Postman API collection or GraphiQL screenshots.
4) Screenshots of each API tested with response and payload.
5) Project ZIP file after deleting node_modules folder.
6) GitHub Project Link and add me as a collaborator if private repo.
(GitHub username pritamworld)
7) Sample user detail to login.
8) Any comments if need for clarification.
9) If hosted on Heroku/cyclic/Vercel/docker or any platform share the
details with URLs.

Evaluations:

Points Evaluation Component


GraphQL Object creation for both collection with MongoDB
15
schemas
60 GraphQL APIs
10 Screenshots, Sending validation and error messages to client
10 Maintaining GitHub repository with ReadMe file
Test GraphQL API using GraphiQL OR Postman with
05
Screenshots

Communication:

• Please contact on [email protected] or SLACK channel


for any question or query.
• NO requesting extension before 3 days for submission deadline

References:
- https://graphql.org/learn/
- https://www.howtographql.com/
- https://www.apollographql.com/blog/backend/using-express-with-
graphql-server-node-js/?_ga=2.81606039.1894545270.1674864877-
990100504.1674864877
~~~ Wish you all the Best ~~~

You might also like