Awesome Open Source
Awesome Open Source

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!

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,058,025
Vue (65,829
Express (30,194
Mongodb (29,746
Graphql (15,697
Mongoose (6,813
Vuex (5,650
Apollo (4,442
Vuetify (1,580