|
1 | | -# Fungus Friends App |
| 1 | +# Next.js Graphql apollo server starter |
2 | 2 |
|
3 | | -All kinds of fungus friends can be found in the garden of SpronQ it is your task to show them on a map. |
| 3 | +Next.js Graphql apollo server starter , with merge schema , combine resolvers generate type in fast and simple way |
4 | 4 |
|
5 | | -## Requested features |
6 | | - |
7 | | -- Use the supplied api.ts script without alteration. (It is allowed though to remove the TypeScript if you have a good enough excuse) |
8 | | -- Render the mushrooms on a OpenStreetMap. |
9 | | -- If you click on one of the mushrooms it should show a popup with the mushroom properties. |
10 | | -- Show two selectboxes to filter the mushrooms on respectivaly the spots and color properties. |
11 | | -- Both selectboxes have a button to clear the selection. |
12 | | - |
13 | | -The mushrooms need to be filterd with two selectboxes. One of the selectboxes will be for the color and the other for spots. |
14 | | -if for example, the color GREEN is selected the map will only show the mushrooms with the color property GREEN. Also the selectbox for spots will only show the kind of spots that are left. Next will be an example of a state situation. |
15 | | - |
16 | | -3 kind of Mushrooms: |
| 5 | +## Install |
17 | 6 |
|
18 | 7 | ``` |
19 | | -{:name 'nervous Bell' :spots :double :color :green} |
20 | | -{:name 'nice Benz' :spots :dashed :color :red} |
21 | | -{:name 'quizzical Chaplygin' :spots :double :color :blue} |
| 8 | +yarn Install |
22 | 9 | ``` |
23 | 10 |
|
24 | | -If double is selected in the spots selectbox, only the green and blue options will be available in the colors select box, also only nervous bell and quizzical chaplygin will be visible on the map. |
25 | | - |
26 | | -## Other requirements |
27 | | - |
28 | | -- Use whatever web framework or technology you want |
29 | | -- Make a git Repo and host it on the interent (Github, BitBucket). |
30 | | -- Supply a README with instructions on how to run the project. |
| 11 | +## Generate schema and Type |
31 | 12 |
|
32 | | -## Bunus feature |
33 | | - |
34 | | -- Get some (random) mushroom images from a image api. |
35 | | -- Use your imagination. |
| 13 | +``` |
| 14 | +yarn generate |
| 15 | +``` |
36 | 16 |
|
37 | 17 | ## Getting Started |
38 | 18 |
|
39 | 19 | First, run the development server: |
40 | 20 |
|
41 | | -```bash |
42 | | -npm run dev |
43 | | -# or |
| 21 | +``` |
44 | 22 | yarn dev |
45 | 23 | ``` |
46 | 24 |
|
|
0 commit comments