Skip to content

Egor-Sapronov/image-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image storage

Image hosting on node.js

To run server write this in console:

npm install
mongod
node dataGen.js
node app.js

httpie requests for auth:

http POST http://localhost:1337/api/users username=egor password=123456
http POST http://localhost:1337/oauth/token grant_type=password client_id=webV1 client_secret=abc123456 username=egor password=123456
http http://localhost:1337/api/*some blocked resource* Authorization:'Bearer TOKEN'

About

Photo stock on node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published