Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build, deploy and run complied code? #7

Open
Husamui opened this issue Jun 10, 2018 · 2 comments
Open

How to build, deploy and run complied code? #7

Husamui opened this issue Jun 10, 2018 · 2 comments

Comments

@Husamui
Copy link

Husamui commented Jun 10, 2018

Hi Ben,

Should we build/transpile the code to es5 and run it on the server for example in docker container? or current ts-node src/index.ts is enough to run it?

@benawad
Copy link
Owner

benawad commented Jun 10, 2018

You'll want to transpile it to javascript and then run it with node. A docker container would work.

@jakelowen
Copy link

@Husamui - it might help to check out his airbnb clone series on youtube using this same server stack. He shows you how to build and deploy. Just today I rewatched those couple vids and was able to successfully deploy to heroku via a slightly different approach: https://github.com/jakelowen/typescript-graphql-boilerplate-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants