API pour le projet VESTA
Stable version available at Heroku: https://vesta-api.herokuapp.com
This current version is made for development purposes only and needs a few tweaks to be used as production. Indeed, a boot script has been written (vesta-api/server/boot/01-create-model-instances.js) to insert random data (users & cartoparties) in order for the developers to work quickly and efficiently.
If you would like to use Vesta as production, please make sure you wipe your mongodb database and then create an admin user. If any user is already added, the boot script will be skipped; or you could simply delete the boot script.
File server used for pictures can be found here: https://github.com/fsegouin/vesta-fileserver
Run the following command line in Terminal (Protip: use iTerm2):
$ git clone [email protected]:fsegouin/vesta-api.git
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.21.0/install.sh | bash
$ nvm install 0.10
$ nvm use 0.10
$ cd vesta-api
$ npm install
Depends on your OS. Go to mongodb.org.
Do not forget to start mongodb:
$ mongod
Start the API:
$ slc run
Go to http://localhost:3000/explorer/
If you need SSL support, please switch go feature-ssl branch.