1.0.36 • Published 4 years ago
elementer v1.0.36
serverStarterKit
##Before start make these steps
- Create a git repository with GitHub Desktop
- First push with Readme
- add "
Generated dist file
dist" to your .gitignore file - Copy files to project folder from serverStarterKit
- Commit and push changes with "start initialization" message on GitHub Desktop
- Open terminal go project folder and run "yarn init""
- Open project with Vscode and add yarn scripts to package.json from packageExample.json
- Go terminal and run "node -v" , "yarn -v" paste version on package.json -> engines -> node version and yarn version
- Go terminal and run "APP_NAME={appname} yarn setup"
- Run "heroku config:set NPM_CONFIG_PRODUCTION=true YARN_PRODUCTION=true" for not installing devDependencies in deployment
- For prisma init select "use other server" option
- Get prisma server endpoint from prismaExample/prisma.yml
- Get prisma management api secret from prismaExample/prisma.yml
- Select prisma service name and stage then generate javascript client
- Edit prisma.yml with prismaExample/prisma.yml (copy paste everything just except endpoint)
- Copy paste everything to datamodel.prisma from prismaExample/datamodel.prisma
- Go terminal and go prisma client directory then run prisma deploy
- Update src/prisma.js with generated prisma client path
- delete prismaExample folder and packageExample.json
- Run "M="inialization finished" yarn pushHeroku" command. This will save all things github and push to heroku
- Create staging and development branches and push origin
- Change branch to development
- For auth0 follow this guide {https://auth0.com/blog/develop-modern-apps-with-react-graphql-apollo-and-add-authentication/}
- For auth0 easy lock creation {https://auth0.com/learn/lock-demo/}
- For s3 integration follow this guide {https://devcenter.heroku.com/articles/s3-upload-node} Ready for development!!!
Use lowercase filename
User heroku local
Dont use git push --all
1.0.36
4 years ago
1.0.29
4 years ago
1.0.28
4 years ago
1.0.27
4 years ago
1.0.25
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.22
4 years ago
1.0.20
4 years ago
2.1.4
4 years ago
2.1.3
4 years ago
2.1.2
4 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.9
4 years ago
2.0.7
4 years ago
2.0.8
4 years ago
2.0.6
4 years ago
2.0.5
4 years ago
2.0.4
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.0
4 years ago