NOWPASS REST API server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
assets
config
scripts
tasks
views
.editorconfig
.eslintignore
.eslintrc
.gitignore
.htmlhintrc
.sailsrc
Gruntfile.js
LICENSE.md
README.md
app.js
package-lock.json
package.json

README.md

Nowpass RESTful API Backend server

Please note that NOWPASS is currently in an early alpha stage and not ready for productive use.

The node / sails.js based backend server for the open source nowpass password manager. You can use it to set up your own nowpass backend at your local computer or on an server.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Clone the project or use one of the release. As a first step you must install all dependencies needed to run the application.

git clone --depth 1 https://github.com/nowpass/server

Install sails.js globally (optional):

npm install sails -g

Installing

After checking out the repository, you first have to install all needed dependencies.

cd server
npm install

After this set up your database (preconfigured is mysql, but you can use any database supported by waterfall ORM). You need to create the database manually.

Edit config/datastores.js and config/env/production.js (or config/env/staging.js for development) and add your database adapter and URL:

adapter: 'sails-mysql',
url: 'mysql://root:password@localhost:3306/nowpass',

Running the service

You should configure the initial user (which is created during bootstrap) in the config/bootstrap.js file, after this you can run the service with:

sails lift

Visit http://localhost:1337 to access the web frontend, manage or create users etc.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the GPL License - see the LICENSE.md file for details