Skip to content

diogoalves/notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notes

A simple notes writing app using graphql.

This app uses:

deploying prisma backend with local postgres docker instance

$ cd backend/database
$ docker-compose up -d
$ prisma deploy 

deploying prisma backend in remote demo server

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 

running local dev graphql server and react code

$ 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

About

a simple notes writing app using graphql.

Resources

License

Stars

Watchers

Forks

Packages

No packages published