An open API service indexing awesome lists of open source software.

https://github.com/leye195/foodcoma-server

FoodComa Apollo Server
https://github.com/leye195/foodcoma-server

apollo-server graphq mongodb

Last synced: 4 months ago
JSON representation

FoodComa Apollo Server

Awesome Lists containing this project

README

          

# FoodComa-Server (Express,Apollo-Server,MongoDB)

### Stack

[x] Apollo-Server
[x] MongoDB
[x] Nodejs
[x] Express

### ToDo

- Server Setting (Apollo-Server)
- Define graphql schema,resolvers
- connent mongoDB and Define models
- generate jwt token / check user

### Schema 정의(수정 중)

```
type Food {
_id: String
name: String
address: String
rate: [Int]
imgUrl: [String]
type: [String]
latitude: String
longitude: String
reviews: [Review]
avg_rate: Float
like: [User]
}

type Review {
_id: String
writer: User!
content: String
}

type User {
_id: String
name: String
email: String
image: String
password: String
token: String
}

type Category {
_id: String
name: String
}

type SignResponse {
success: Boolean!
user: User!
}

```