Commit 929693cb authored by antoine masson's avatar antoine masson
Browse files

v1.11

DIsplay  API token when starting
parent d865bd81
api API Eawag Survey
======
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm start
```
### Compiles and minifies for production
```
npm start
```
...@@ -35,7 +35,7 @@ mongoose.connect( ...@@ -35,7 +35,7 @@ mongoose.connect(
SurveyController.initSurveyTemplate(); SurveyController.initSurveyTemplate();
console.log("API token"+api_config.token); console.log("API token= "+api_config.token);
const index = express(); const index = express();
index.use(morgan("dev")); index.use(morgan("dev"));
......
{ {
"name": "api", "name": "api",
"version": "1.1.0", "version": "1.1.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment