Skip to content

atisak/demo-nodejs-mongodb-rest

 
 

Repository files navigation

NodeJS-MongoDB-Demo

This is an example NodeJS application that works with MongoDB on Clever Cloud.

The application is a very simple list where you can add or delete values.

To install it, simply fork this repository and create an application from your GitHub repo. Then create a MongoDB add-on and link it to your application.

That's it, the application will use the environnement variables to connect to MongoDB.

NOTED:

This repositoty I already created the Dockerfile. you can follow the dockerfile. if you want try that

How to use the build the images

docker built -t name:tag .

docker push to hub.docker

I already had the docker repositoty also. if you want to try

https://cloud.docker.com/repository/docker/atisak/demo-nodejs

About

NodeJS and mongodb example application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.3%
  • HTML 21.6%
  • HCL 2.9%
  • Dockerfile 2.2%