All Projects → Azure-Samples → vue-cosmosdb

Azure-Samples / vue-cosmosdb

Licence: MIT license
Cosmos DB, Express.js, Vue, and Node.js app

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to vue-cosmosdb

zhenfan
「教学」商城项目:技术栈vuejs, mongodb, express ;内容:购物车,列表,商品展示
Stars: ✭ 34 (-41.38%)
Mutual labels:  mongoose
Ecommerce
Angular 6 Ecommerce Application POC
Stars: ✭ 46 (-20.69%)
Mutual labels:  mongoose
react-forum-system
React Forum System
Stars: ✭ 16 (-72.41%)
Mutual labels:  mongoose
MCW-OSS-PaaS-and-DevOps
MCW OSS PaaS and DevOps
Stars: ✭ 49 (-15.52%)
Mutual labels:  cosmosdb
nap
[Deprecated] NextJS + Apollo + PassportJS
Stars: ✭ 52 (-10.34%)
Mutual labels:  mongoose
arc
Fullstack open source Invoicing application made with MongoDB, Express, React & Nodejs (MERN)
Stars: ✭ 1,291 (+2125.86%)
Mutual labels:  mongoose
driwwwle
The social network for developers. Discover creative websites and build a community.
Stars: ✭ 109 (+87.93%)
Mutual labels:  mongoose
nuada-cli
Nuada CLI was designed to improve your development experience by using ExpressJS and Mongoose tools.
Stars: ✭ 19 (-67.24%)
Mutual labels:  mongoose
colt-steele-advanced
Notes for the Colt Steele Advanced Boot Camp
Stars: ✭ 29 (-50%)
Mutual labels:  mongoose
Registration-and-Login-using-MERN-stack
Simple Registration and Login component with MERN stack
Stars: ✭ 210 (+262.07%)
Mutual labels:  mongoose
graphql-server-typescript
GraphQL + MongoDB express server with JWT authorization (in Typescript!)
Stars: ✭ 48 (-17.24%)
Mutual labels:  mongoose
Pharmacy-Mangment-System
👨‍💻 🏥 MEAN stack Pharmacy Management system.
Stars: ✭ 229 (+294.83%)
Mutual labels:  mongoose
documentdb-typescript
[DEPRECATED] TypeScript interface for Microsoft Azure Cosmos DB
Stars: ✭ 18 (-68.97%)
Mutual labels:  cosmosdb
mern-boilerplate
A Full MERN Stack Boilerplate for Web Apps including a local authentication system. Uses React, Express.js, MongoDB, Redux, Passport.js, Webpack, Testing, and more.
Stars: ✭ 211 (+263.79%)
Mutual labels:  mongoose
add-my-name
No more WhatsApp spams 🎉
Stars: ✭ 16 (-72.41%)
Mutual labels:  mongoose
graphql-api-starter
Starter API graphql with apollo server and some other shit.
Stars: ✭ 12 (-79.31%)
Mutual labels:  mongoose
derivejs
DeriveJS is a reactive ODM - Object Document Mapper - framework, a "wrapper" around a database, that removes all the hassle of data-persistence by handling it transparently in the background, in a DRY manner.
Stars: ✭ 54 (-6.9%)
Mutual labels:  mongoose
how-to-build-your-own-uber-for-x-app
Code for my blog post on How to Build Your Own Uber-for-X App
Stars: ✭ 138 (+137.93%)
Mutual labels:  mongoose
code-examples
Example projects for my personal blog.
Stars: ✭ 144 (+148.28%)
Mutual labels:  mongoose
Blog2.0
基于Nuxt(ssr)+Vuetify+elementUi+nodeExpress+mongoDb的个人博客全栈项目
Stars: ✭ 20 (-65.52%)
Mutual labels:  mongoose
languages page_type products description
javascript
nodejs
sample
azure
azure-cosmos-db
A Cosmos DB, Express.js, Vue, and Node.js app.

vue-cosmosdb

A Cosmos DB, Express.js, Vue, and Node.js app

Please see the connect2017 branch to see the sample use in the Connect 2017 video (link coming soon)

Features

This project framework provides the following features:

  • Vue.js
  • Node.js
  • Express
  • Mongoose API
  • Connecting to MongoDB or CosmosDB
  • Building, Debugging, Deploying with Docker

Getting Started

Prerequisites

Node.js with npm

Installation

git clone https://github.com/Azure-Samples/vue-cosmosdb.git
cd vue-cosmosdb
npm install

Database settings

  • Configure Cosmos DB server settings

    Rename the .env.example.js file to .env in the root folder and update it with your Cosmos DB settings. Replace the accountName, databaseName, key, and port with your specific configuration.

    SERVER_PORT=3001
    PUBLICWEB=./server/www
    COSMOSDB_ACCOUNT=your_cosmos_account
    COSMOSDB_DB=your_cosmos_db
    COSMOSDB_KEY=your_cosmos_key
    COSMOSDB_PORT=10255

Quickstart

This will build the app and run the dev server for Vue and WebPack. The Node express server will launch and WebPack will proxy the calls from the browser to the API in express. It will also prepare it for local debugging.

# build for production with minification
npm run build

# serve on http://localhost:8080
# and run the api on http://localhost:3001
npm run debug

Local Prod Build

This will build the app and launch via the Node.js express server.

# build for production with minification
npm run build

# run the node server
npm start

Docker

Build the image and run container.

npm run docker-up

Build the image and run container for local debugging.

npm run docker-up-debug
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].