Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test-api] #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,24 @@ This repository hold codebase for the REST API developed for Cassandra using Loo

## Details

Will be added later.
Follow the guidelines given below to use the API.

1. Install Java.

2. Install nodejs and npm.

3. Install docker daemon.

4. Install cassandra on your system as a service or as a docker container. I will use it as a docker container:

```bash
sudo docker run --net host cassandra:3.11.6
```

5. Install mysql on your system as a service or as a docker container. I will use it as a docker container:

```bash
sudo docker run --net host -e MYSQL_ROOT_PASSWORD=an10 mysql:5.7
```

6.
5 changes: 0 additions & 5 deletions server/errorHandlingFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
*/
'use strict';





var methods = {
/*
* It will return an object containing the property missing error messages
Expand Down Expand Up @@ -124,5 +120,4 @@ function removeWhiteSpacesFromInside(value) {
return value.replace(/ /g, "")
}


module.exports = methods;
4 changes: 0 additions & 4 deletions server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ app.start = function() {
});
};





// Bootstrap the application, configure models, datasources and middleware.
// Sub-apps like REST API are mounted via boot scripts.
boot(app, __dirname, function(err) {
Expand Down