Skip to content

Instantly share code, notes, and snippets.

@yesnik
Last active June 3, 2019 09:46
Show Gist options
  • Save yesnik/c6a36480eb3c64bad0fd04d25c60a3e8 to your computer and use it in GitHub Desktop.
Save yesnik/c6a36480eb3c64bad0fd04d25c60a3e8 to your computer and use it in GitHub Desktop.
Tasks for creating Sheldon CRM

Sheldon CRM Tasks

Dear programmer, I need your help to build a simple CRM named Sheldon CRM. Here you can find tasks that will help us to create it. You can use any programming language you want. All I want is a website with my Sheldon CRM.

1. Store partners

I have several partners. On our CRM website I need a page for creating new partners. Each partner has name and email. Also I need a page for editing each partner's information and a page where I can browse all partners' info.

2. Partner info validation

Yesterday I accidentally added partners with empty name and invalid email. Could you please permit saving of partners with empty name or invalid email? Also I need to ensure that email is unique among existing emails. By the way, name cannot be more than 30 chars, and less than 3.

3. Create unit tests for partner's validation

Last week I talked with my friend from IT company. She told me that they use tests in their company to create software. Could you create Unit tests for logic from Task 2, please?

4. Add pagination

I have more than 3 thousand partners already. It's hard to view these records on one page. Could you add pagination on index partner's page, please? I want to see 30 records per page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment