Skip to content

rayito/containersapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

containersapp

Wastes & Containers management web app

Codefish status

Instructions to run in local

Install mongodb, node and express.

Then cd into the cloned directory and run:

$ mongod --dbpath ./db

In another terminal, cd into the cloned dir as well and run:

$ node app

Check it out:

http://localhost:3000 --> express should be running!

Create a new container:

http://localhost:3000/create?lat=[latitude]&lng=[longitude]&level=[filling level]
(latitude and longitude in decimal notation, level is optional)

Show a container:

http://localhost:3000/show?id=[container ID]

Show all the containers:

http://localhost:3000/containers

Modify the filling level of a container:

http://localhost:3000/update?id=[container ID]&level=[filling level]

Delete a container from de data base:

http://localhost:3000/delete?id=[container ID]

About

Waste managemente web application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published