https://github.com/kapit4n/mockupero-api
REST full api to manage mockups
https://github.com/kapit4n/mockupero-api
api containerid docker javascript mongo sailsjs web-api web-app
Last synced: 30 days ago
JSON representation
REST full api to manage mockups
- Host: GitHub
- URL: https://github.com/kapit4n/mockupero-api
- Owner: kapit4n
- Created: 2016-09-24T00:18:29.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2018-10-04T11:15:11.000Z (over 7 years ago)
- Last Synced: 2025-06-21T09:06:30.209Z (12 months ago)
- Topics: api, containerid, docker, javascript, mongo, sailsjs, web-api, web-app
- Language: JavaScript
- Homepage:
- Size: 329 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Mockuper
A aplication that serve the logic to manage the design of a software development
## Requirements
* node js 6
* sails js 0.12.4
* MongoDB version: 2.6.5
## Installation
* npm install
* mkdir data
* mongod --dbpath=data
* mongo
db.createUser({
user: "accountUser",
pwd: "password",
roles: [
"readWrite",
"dbAdmin"
]
})
* mongo
db.permission.insert( { can: "edit" } )
db.permission.insert( { can: "view" } )
## Run unit test
mocha test/bootstrap.test.js test/integration/**/*.test.js
## Run
* sails lift
* http://localhost:1337/
## Docker installation
* docker build -t llll/api .
* docker run -p 1337:1337 -d llll/api
* docker logs containerId
* docker stop containerId
* curl -i localhost:1337