Skip to content

Commit ddc4ded

Browse files
author
Salah Eddine Lalami
authored
add docs
1 parent 7541ae8 commit ddc4ded

File tree

1 file changed

+9
-31
lines changed

1 file changed

+9
-31
lines changed

README.md

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,24 @@
1-
# Fungus Friends App
1+
# Next.js Graphql apollo server starter
22

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
44

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
176

187
```
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
229
```
2310

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
3112

32-
## Bunus feature
33-
34-
- Get some (random) mushroom images from a image api.
35-
- Use your imagination.
13+
```
14+
yarn generate
15+
```
3616

3717
## Getting Started
3818

3919
First, run the development server:
4020

41-
```bash
42-
npm run dev
43-
# or
21+
```
4422
yarn dev
4523
```
4624

0 commit comments

Comments
 (0)