This project is originated from Academind GraphQL Demo Code and casted in Youtube channel.
However, code examples used in that project are quite basic for beginner. Therefore, I decide to add more features such as real-time subscription for adding, deleting Event, Booking and then convert it by using
- Backend: GraphQL & GraphQL Yoga
- Frontend: ReactJS & Apollo Client
In order to test it in localhost, there are some steps
- Create MongoDB Online and modify username and password, db name in file nodemon.json and connectionString in index.js (backend). Or, using 'docker-compose up' to setup Mongodb
- npm install / yarn install to install all packages
- npm run start / yarn start to test it in localhost