Comments (13)
@nkostic sure, I will provide more detailed info about the integration between them.
Stay tuned!
from vue-typescript-starter.
Hey @nkostic ,
I have updated the README file at https://github.com/joseluisq/koa-graphql-rethinkdb (GraphQL server) Please follow the README steps.
Before, make sure that you have Rethinkdb installed.
Then when you GraphQL server is running you can run this vue-typescript-starter
.
In vue-typescript-starter
you don't need to change anything "at first" (but if you want you can customize it later)
from vue-typescript-starter.
Feel free to adapt it your requirements 👍
from vue-typescript-starter.
The problem I was having is specific to Windows, had to update package.json.
SET NODE_ENV=development in particular vs NODE_ENV=development
and I had to add & to concatenate commands : /
Thanks for the help.
Cool!
because my workstation was Linux OS when I published this repo xD
So, for full cross-environment variables I recommend to use https://github.com/kentcdodds/cross-env
Update your package.json to:
cross-env NODE_ENV=development
👍
from vue-typescript-starter.
@joseluisq thanks for a quick response,
OK I followed the instructions and both projects successfully completed build (yarn build than yarn start), my rethinkDb docker container is running and I can access to http://localhost:4020/graphiql and fiddle around with graphql no problem.
Now in separate folder - vue-typescript-starter (outside koa-graphql-rethinkdb ) I run yarn build, than yarn start and I get message successfully done in like 1.61 sec.
How do I access now to vue-typescript-starter through browser URL ?
Maybe better question is where should I locate vue-typescript-starter folder, inside koa-graphql-rethinkdb ?
Thank you!
from vue-typescript-starter.
How do I access now to vue-typescript-starter through browser URL ?
That runs on :4044 port, you can see on your terminal (http://localhost:4044)
Maybe better question is where should I locate vue-typescript-starter folder, inside koa-graphql-rethinkdb ?
Now these are separated. But If you want you can put them together (read the Koa docs for that, maybe you can put your vue-typescript-starter
built files into one directory and use a Koa route to expose it on the same server), or simply run another docker container with your static vue-typescript-starter
generated. Remember at the end vue-typescript-starter
is a static site that you can put it any place that you want.
from vue-typescript-starter.
In addition, if you put your vue-typescript-starter
on another server, you can change the URL of your GraphQL Server API at vue-typescript-starter/src/index.ts.
from vue-typescript-starter.
That runs on :4044 port, you can see on your terminal (http://localhost:4044)
OK so this part is confusing me when I run yarn start on vue-typescript-starter my console output just says it's finished, I do not get any other information. See bellow:
So there is no localhost:4044
Should I mentioned I am working currently on Windows ?
from vue-typescript-starter.
Sorry, yarn build
command builds your app only into static files at ./dist
It doesn't run any server.
from vue-typescript-starter.
I understand, but my next command is yarn start and it seems that is doing the same but for different env. OK I was expecting that yarn start will run the server ...
from vue-typescript-starter.
Thank You @joseluisq!
from vue-typescript-starter.
Your welcome!
from vue-typescript-starter.
The problem I was having is specific to Windows, had to update package.json.
SET NODE_ENV=development
in particular vs NODE_ENV=development
and I had to add & to concatenate commands : /
Thanks for the help.
from vue-typescript-starter.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-typescript-starter.