Skip to content

Commit 3956fe5

Browse files
author
Jeffrey Desir
committed
added: build status & dirs
1 parent 37132a5 commit 3956fe5

File tree

4 files changed

+42
-31
lines changed

4 files changed

+42
-31
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2018 Jason Watmore
3+
Copyright (c) 2020 (jffry (dsr))
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
# node-mongo-registration-login-api
1+
<h1 align="center">Dro0m<h1>
22

3-
NodeJS + MongoDB API for User Management, Authentication and Registration
3+
> controller-aspect of the Dro0m app.
44
5-
For documentation and instructions check out http://jasonwatmore.com/post/2018/06/14/nodejs-mongodb-simple-api-for-authentication-registration-and-user-management
5+
[![Build Status](https://travis-ci.org/Dro0m/controller.svg?branch=jeffrey-desir)](https://travis-ci.org/Dro0m/controller)
6+
7+
## Development
8+
1. install `mongolb`
9+
1. run `yarn start`
10+
11+
12+
## Authorship
13+
14+
15+
## License
16+
This project is under the [MIT](LICENSE)

server.js renamed to init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require('rootpath')();
1+
require('rootpath')();
22
const express = require('express');
33
const app = express();
44
const cors = require('cors');

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"name": "node-mongo-registration-login-api",
3-
"version": "1.0.0",
4-
"description": "NodeJS + MongoDB API for User Management, Authentication and Registration",
5-
"license": "MIT",
6-
"repository": {
7-
"type": "git",
8-
"url": "https://github.com/cornflourblue/node-mongo-registration-login-api.git"
9-
},
10-
"scripts": {
11-
"start": "node ./server.js",
12-
"start-dev": "nodemon ./server.js"
13-
},
14-
"dependencies": {
15-
"bcryptjs": "^2.4.3",
16-
"body-parser": "^1.19.0",
17-
"cors": "^2.8.4",
18-
"express": "^4.17.1",
19-
"express-jwt": "^5.3.1",
20-
"jsonwebtoken": "^8.5.1",
21-
"mongodb": "^3.2.7",
22-
"mongoose": "^5.6.9",
23-
"rootpath": "^0.1.2"
24-
},
25-
"devDependencies": {
26-
"nodemon": "^1.19.1"
27-
}
2+
"name": "dro0m-controller-router",
3+
"version": "1.0.0",
4+
"description": "NodeJS + MongoDB API for User Management, Authentication and Registration",
5+
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/cornflourblue/node-mongo-registration-login-api.git"
9+
},
10+
"scripts": {
11+
"start": "node ./init.js",
12+
"start-dev": "nodemon ./init.js"
13+
},
14+
"dependencies": {
15+
"bcryptjs": "^2.4.3",
16+
"body-parser": "^1.19.0",
17+
"cors": "^2.8.4",
18+
"express": "^4.17.1",
19+
"express-jwt": "^5.3.1",
20+
"jsonwebtoken": "^8.5.1",
21+
"mongodb": "^3.2.7",
22+
"mongoose": "^5.6.9",
23+
"rootpath": "^0.1.2"
24+
},
25+
"devDependencies": {
26+
"nodemon": "^1.19.1"
27+
}
2828
}

0 commit comments

Comments
 (0)