How regovtech/graduate-take-home-assignment works
A dummy frontend application (mobile or web) that includes
• User Registration
• Login/Logout screens/modules
• User Profile interface with an “about me” section that can be written, saved as draft, or submitted
A backend API which
• Implements user registration and login
• Integrates with a MySQL database
• Incorporates proper session or token management for login/logout
Main components
• Frontend Application – This can be built with frameworks like ReactJS, VueJS, or ReactNative.
• Subcomponents for User Registration, Sign-On/Logout, and the User Profile (with the “about me” editor).
• Backend Application – This could be implemented using Node.js or Python.
• Further divide into API endpoints for Registration, Login, and Logout.
• Database – A MySQL database that stores user information.
Relationships and interactions
• The Backend handles logic such as validating credentials, processing registration, and issuing sessions or tokens.
• The Backend then interacts with the MySQL Database, reading/writing user data, and storing details like “about me” text either as draft or submitted.
Architectural elements and patterns
• For the frontend, emphasize a clear separation between view components (Registration, Login, Profile) and the underlying service that communicates with the backend (API client).
• For the backend, indicate an API layer (Controller/Router) that oversees request handling, a service layer for business logic, and a data access layer for database operations.
• Use the “dummy interface” detail to note that the frontend and backend are developed independently without real-time connectivity during initial testing.
• Mention the usage of standard HTTP methods and RESTful principles for the API.
Relevant technologies
• Frontend: Framework choices like ReactJS, VueJS, or ReactNative.
• Backend: Node.js or Python (Express, Flask, or similar frameworks).
• MySQL: As the relational database to persist user details.
• Optionally, mention any libraries for routing, form handling, etc., if known.