1.0.36 • Published 4 years ago

elementer v1.0.36

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

serverStarterKit

##Before start make these steps

  1. Create a git repository with GitHub Desktop
  2. First push with Readme
  3. add "

    Generated dist file

    dist" to your .gitignore file
  4. Copy files to project folder from serverStarterKit
  5. Commit and push changes with "start initialization" message on GitHub Desktop
  6. Open terminal go project folder and run "yarn init""
  7. Open project with Vscode and add yarn scripts to package.json from packageExample.json
  8. Go terminal and run "node -v" , "yarn -v" paste version on package.json -> engines -> node version and yarn version
  9. Go terminal and run "APP_NAME={appname} yarn setup"
  10. Run "heroku config:set NPM_CONFIG_PRODUCTION=true YARN_PRODUCTION=true" for not installing devDependencies in deployment
  11. For prisma init select "use other server" option
  12. Get prisma server endpoint from prismaExample/prisma.yml
  13. Get prisma management api secret from prismaExample/prisma.yml
  14. Select prisma service name and stage then generate javascript client
  15. Edit prisma.yml with prismaExample/prisma.yml (copy paste everything just except endpoint)
  16. Copy paste everything to datamodel.prisma from prismaExample/datamodel.prisma
  17. Go terminal and go prisma client directory then run prisma deploy
  18. Update src/prisma.js with generated prisma client path
  19. delete prismaExample folder and packageExample.json
  20. Run "M="inialization finished" yarn pushHeroku" command. This will save all things github and push to heroku
  21. Create staging and development branches and push origin
  22. Change branch to development
  23. For auth0 follow this guide {https://auth0.com/blog/develop-modern-apps-with-react-graphql-apollo-and-add-authentication/}
  24. For auth0 easy lock creation {https://auth0.com/learn/lock-demo/}
  25. 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