This is my first React app. First two user stories complete including e2e tests
Feel free to use this repository as a template (Please don't fork!) or start from scractch.
The requirement is to build and end to end application consisting of a Typescript, React webapp, a Typescript API and a data store of your choice. The spec below defines 3 user stories all with acceptance criteria. Do your best to interpret them and implement them. If you feel you're missing context, drop an email to [email protected].
Could you provide a GitHub repository link with your work when you feel you've completed the task to [email protected]?
Open a terminal and run the following command to spin up the API and React UI
make install docker
Navigate to http://localhost:3000 to view the UI
Run the following command in a separate terminal (You must have your UI and API running)
make test
Ideal tech stack:
- Typescript
- React
- Cypress
- Docker
- Run the whole stack with
make install docker
- Data is persisted when database is stopped and started
- End to end tests demonstrate acceptance criteria has been implemented
As a chef
I want to save my favorite recipes
So that I can cook them another time
Given I have a new recipe
When I add the new recipe name
And ingredients
And measurements
And cooking method
Then the new recipe is saved for later
As a chef
I want to search for my favorite recipe
So that I can cook it
Given I want to look for a recipe
When I search by the name of the recipe
Then I find the recipe
And I can see the ingredients
And I can see the cooking methods
As a chef
I want to search for my favorite recipe by ingredient
So that I can cook it
Given I want to look for a recipe by ingredients
When I search by the ingredient of the recipe
Then I find the recipe
And I can see the ingredients
And I can see the cooking methods
- Continuous integration
- App deployment