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
- Host: GitHub
- URL: https://github.com/leye195/foodcoma-server
- Owner: leye195
- Created: 2020-08-16T08:24:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T15:48:41.000Z (about 5 years ago)
- Last Synced: 2025-03-31T19:14:28.255Z (7 months ago)
- Topics: apollo-server, graphq, mongodb
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!
}```