Build a simple REST API that retrieves information about a person based on their name and company.
- Time to complete: 3-4 hours
- Submission deadline: Within 5 days of receiving the challenge
-
Create a REST API endpoint:
- POST
/person-info - Accept JSON input
- Return JSON response
- POST
-
Input Format:
{ "name": "John Doe", "company": "Google" // optional } -
Output Format:
{ "name": "John Doe", "current_role": "Software Engineer", "company": "Google", "location": "San Francisco, CA", "linkedin_url": "https://linkedin.com/in/johndoe" }
- Python web framework (Flask/FastAPI/Sanic)
- Basic error handling
- README with setup instructions
- Requirements.txt file
- Basic input validation
- Type hints
- API documentation
- Unit tests
- Docker setup
- Create a new branch on the repo using your first and last names (e.g.
jiyunhyo) - Include a README.md with:
- Setup instructions
- API documentation
- Any assumptions made
- Future improvements (if any)
- Fill out the Google form (https://forms.gle/FfsxpDzw5GjvAGNBA)
- Working API endpoint (40%)
- Code organization (20%)
- Error handling (20%)
- Documentation (20%)
- Feel free to use any public APIs or libraries
- Focus on code quality over quantity
- Don't worry about authentication
- Keep it simple and clean
If you have any questions, feel free to reach out to jiyun@tryfluence.tech