A simple notes writing app using graphql.
This app uses:
- prisma.io to provide database throught graphql service.
- apollo-server v2
- react, material-ui and apollo-client in frontend
$ cd backend/database
$ docker-compose up -d
$ prisma deploy
in order to deploy first change "endpoint" key to '' in backend/database/prisma.yml. After that you should run:
$ cd backend
$ npm install
$ prisma deploy
$ cd backend
$ npm run dev
this command will initialize local apollo-server server on port 4000 and playground on port 5000.
in another shell start the frontend code
$ cd frontend
$ npm install
$ npm start