DEV - https://client-feed-list-dev.herokuapp.com/ (US)
PROD - https://client-feed-list-prod.herokuapp.com/ (EU)
test@test.ru | 123456
- yarn install
- create .env.local for client
- cd ./server && yarn install
- create .env.local for server
- yarn start
- yarn start:server
- localhost:3000 - client
- localhost:4000 - server
- yarn client:deploy:${env}
https://medium.com/@agavitalis/how-to-deploy-a-simple-static-html-website-on-heroku-492697238e48
- cd ./server
- schema:generate:${env}
- prisma:deploy:${env}
https://us1.prisma.sh/alexander-shtykov-ca308e/prisma/dev https://eu1.prisma.sh/alexander-shtykov-ca308e/prisma/prod
- server:deploy:{env}
https://graphql-feed-list-dev.herokuapp.com/ https://graphql-feed-list-prod.herokuapp.com/
https://medium.com/@shalandy/deploy-git-subdirectory-to-heroku-ea05e95fce1f
For start both schemas at single playground at the moment you should:
- cd ./server
- yarn start - local queries/mutations
- yarn start:plgr - include prisma queries/mutations
- move to monorepo for client and server sides
- fix few loaders after searching and scrolling
- change client's schemes format
- move to prisma v2, TypeScript
- test coverage (unit)
- add upvoting feature
- add personal page with list of contents
- add new fields (title, source, author, etc.) to feed model