Skip to content

thihenos/node-datastoreCRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-datastoreCRUD

Node CRUD example using Google Cloud Datastore

If you need help, call me: Twitter, Medium

What I need ?

  • SublimeText or other file editor
  • NPM
  • Node JS
  • Express, node network app framework

Very Important

You need to create your Datastore database and configure it. For me, the faster and easiest way to configure my Datastore base was following the steps which you download your Google Credentials in a JSON.

For better understanding, you MUST read GoogleDatastore github

Installation

Download the project, and inside the main folder, just run the follow command for dependences installation

$ npm install

Database

Change the value of variable let projectId = 'YOUR KEY HERE'; inside index.js file inside server/models folder.

Test

In app.js file, I configurated the http PORT to 3000, you can change as you wanted, so, in this example, when start this example, it will be released in localhost:3000 address :)

So, open your favorite Terminal and run these command.

$ node app

You can check your app in localhost:3000/ ;)

Todos

Give me some ideias :P

License

MIT

Free Software, Free Examples, Free hugs!

About

Node CRUD example using Google Cloud Datastore

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published