• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

romucci/boilerplate-vue-apollo-graphql-mongodb: Start your magical stack journey ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

romucci/boilerplate-vue-apollo-graphql-mongodb

开源软件地址(OpenSource Url):

https://github.com/romucci/boilerplate-vue-apollo-graphql-mongodb

开源编程语言(OpenSource Language):

JavaScript 89.5%

开源软件介绍(OpenSource Introduction):

Boilerplate Vue + Vuex + Vuetify + Apollo Client + GraphQL + Express + MongoDB + HTTP/2

Just a simple way of starting your projects with these marvelous technologies!

Installing

Download or clone the repository and access the server folder.

- cd server
- npm install 

Then navigate towards the client folder and wait for dependencies to finish downloading.

- cd client
- npm install

After that you will need to determine your the MongoDB connection string in server.js, as well as the database user and password inside an .env file in the server folder. Furthermore you can setup HTTP/2 with a CERT and KEY files (Use OpenSSL if you do not own a valid certificate).

When everything is ready, you just navigate and start the server and client:

- cd client
- npm start

and

- cd server
- npm start

and VOALA, you are good to go!

Build

If you need or want to build your client app and use just one server, you can perform

- cd client
- npm run build

then you take the output folder and take it to the server-side src folder.

REMEMBER! You have to change the GraphQL uri in the Apollo Client and the WebSocket uri accordingly!

You may also need to set your favicon!

Built With

FRONT-END

  • Vue - Progressive Javascript Framework for UIs
  • Vuex - Flux State Management
  • Vue-router - SPA Routing
  • Vuetify - Material UI Design
  • Vue-Apollo - Integration for Vue/Apollo/GraphQL

BACK-END

  • GraphQL - A Query Language for APIs
  • Express - Fast minimalist web framework for NodeJS
  • NodeJS - JavaScript runtime environment

DATABASE

DEVTOOLS

Authors

  • Lucas Otero - Initial work - Romucci

License

This project is licensed under the MIT License.

Acknowledgments

I have compiled all the different technologies I have learnt to love and put them all together in a simple-to-start-with package! Hope you love it too!




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap