Skip to content

dkuchynskyi/restful-api-mongo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restful api mongo

Project upload

git clone [email protected]:iklymchuk/restful-api-mongo.git

cd restful-api-mongo

npm install

Mongo configuration

Creating new user - mongo shell

db.createUser( { user: "admin", pwd: "admin", roles: [] } )

Start app

SET NODE_ENV=dev && node server.js

Testing app

curl -d "username=testUser&password=testPassword" -H "Content-Type: application/x-www-form-urlencoded" -X POST http://localhost:8085/user

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%