Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 69379b7e authored by Florent Coriat's avatar Florent Coriat
Browse files

Merge branch '19-rename-c-server-to-c-service' into 'master'

Rename server into service

Closes #19

See merge request concordant/software/c-server!22
parents ee766db5 e56ec9d2
No related branches found
No related tags found
1 merge request!22Rename server into service
Pipeline #189299 canceled
# c-server # C-Service
[![License](https://img.shields.io/badge/license-MIT-green)](https://opensource.org/licenses/MIT) [![License](https://img.shields.io/badge/license-MIT-green)](https://opensource.org/licenses/MIT)
[![pipeline status](https://gitlab.inria.fr/concordant/software/c-server/badges/master/pipeline.svg)](https://gitlab.inria.fr/concordant/software/c-server/-/commits/master) [![pipeline status](https://gitlab.inria.fr/concordant/software/c-service/badges/master/pipeline.svg)](https://gitlab.inria.fr/concordant/software/c-service/-/commits/master)
[![coverage report](https://gitlab.inria.fr/concordant/software/c-server/badges/master/coverage.svg)](https://gitlab.inria.fr/concordant/software/c-server/-/commits/master) [![coverage report](https://gitlab.inria.fr/concordant/software/c-service/badges/master/coverage.svg)](https://gitlab.inria.fr/concordant/software/c-service/-/commits/master)
Server code for the C-Labbook demo. Service code for the C-Labbook demo.
The first version of C-Service API. The first version of C-Service API.
## Getting started ## Getting started
...@@ -15,7 +15,7 @@ For the next steps, you will need the following software: ...@@ -15,7 +15,7 @@ For the next steps, you will need the following software:
- Make sure you have the latest version of Node.js: [see official installation guide](https://nodejs.org/en/download/); - Make sure you have the latest version of Node.js: [see official installation guide](https://nodejs.org/en/download/);
- The project uses Git to download some required dependencies: [follow the official install guide](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) - The project uses Git to download some required dependencies: [follow the official install guide](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- C-Server runs on top of CouchDB, [see CouchDB's installation guide](https://docs.couchdb.org/en/stable/install/index.html) - C-Service runs on top of CouchDB, [see CouchDB's installation guide](https://docs.couchdb.org/en/stable/install/index.html)
In addition, you will need to enable CORS in CouchDB In addition, you will need to enable CORS in CouchDB
...@@ -31,9 +31,9 @@ Go to project root directory and: ...@@ -31,9 +31,9 @@ Go to project root directory and:
npm install npm install
``` ```
2.**Start C-Server** 2.**Start C-Service**
Set database name and credentials and run server: Set database name and credentials and run service:
```bash ```bash
export DBNAME=my-database COUCHDB_USER=my-user COUCHDB_PASSWORD=my-passwd export DBNAME=my-database COUCHDB_USER=my-user COUCHDB_PASSWORD=my-passwd
......
{ {
"name": "c-server", "name": "c-service",
"version": "1.1.1", "version": "1.1.1",
"description": "Server backend for Concordant P2P collaborative apps", "description": "Server backend for Concordant P2P collaborative apps",
"main": "./dist/main.js", "main": "./dist/main.js",
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"dist/**/*" "dist/**/*"
], ],
"scripts": { "scripts": {
"start": "babel-node dist/server.js", "start": "babel-node dist/service.js",
"test": "jest $TESTS", "test": "jest $TESTS",
"lint": "eslint .", "lint": "eslint .",
"build": "tsc --skipLibCheck", "build": "tsc --skipLibCheck",
...@@ -16,14 +16,14 @@ ...@@ -16,14 +16,14 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://gitlab.inria.fr/concordant/software/c-server.git" "url": "git+https://gitlab.inria.fr/concordant/software/c-service.git"
}, },
"author": "info@concordant.io", "author": "info@concordant.io",
"license": "MIT", "license": "MIT",
"bugs": { "bugs": {
"url": "https://gitlab.inria.fr/concordant/software/c-server/issues" "url": "https://gitlab.inria.fr/concordant/software/c-service/issues"
}, },
"homepage": "https://gitlab.inria.fr/concordant/software/c-server/-/blob/master/README.md", "homepage": "https://gitlab.inria.fr/concordant/software/c-service/-/blob/master/README.md",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.6.0", "@babel/core": "^7.6.0",
"@babel/node": "^7.6.1", "@babel/node": "^7.6.1",
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment