https://github.com/bitcodr/appolotodo
Todo-list sample with Nodejs, GraphQL, Apollo, Reactjs
https://github.com/bitcodr/appolotodo
appolo express-js graphql nodejs reactjs webpack
Last synced: 7 months ago
JSON representation
Todo-list sample with Nodejs, GraphQL, Apollo, Reactjs
- Host: GitHub
- URL: https://github.com/bitcodr/appolotodo
- Owner: bitcodr
- Created: 2018-09-27T13:09:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-04T18:29:56.000Z (almost 6 years ago)
- Last Synced: 2025-03-25T19:52:11.279Z (11 months ago)
- Topics: appolo, express-js, graphql, nodejs, reactjs, webpack
- Language: TypeScript
- Homepage:
- Size: 1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# appoloTodo
Todo-list sample with Nodejs, Apollo, Reactjs in microservice architecture
Run with Docker
docker-composer up
Or with NPM:
backend folder :
npm install
npm install nodemon -g
npm run server
frontend folder :
npm install
npm start
Access to server:
http://127.0.0.1:3000/graphql
Access to front :
http://127.0.0.1:8082
backend graphql queries :
mutation createNote($text: String!, $priority: priorities!, $status: status!, $date: Int!) {
sendNote(text: $text, priority: $priority, status: $status, date: $date) {
id
text
priority
status
date
}
}
mutation updateNote($id:Int!,$text: String!, $priority: priorities!, $status: status!, $date: Int!) {
updateNote(id:$id,text: $text, priority: $priority, status: $status, date: $date) {
id
text
priority
status
date
}
}
mutation deleteNote($id: Int!) {
deleteNote(id: $id) {
id
text
priority
status
date
}
}
query getNotes {
notes {
id
text
priority
status
date
}
}