Skip to content

Commit

Permalink
add accounts, dashboard, and auth-service
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazdhandala committed Nov 6, 2020
1 parent d21d572 commit 15f7078
Show file tree
Hide file tree
Showing 508 changed files with 83,342 additions and 0 deletions.
30 changes: 30 additions & 0 deletions accounts-ui/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#
# CloudBoost Dashbard Dockerfile
#
# Pull base image nodejs image.
FROM node:6.14.3-alpine

#Maintainer.
MAINTAINER Nawaz Dhandala <[email protected]>


RUN mkdir -p /usr/src/app

WORKDIR /usr/src/app

# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install


# Bundle app source
COPY . /usr/src/app

RUN cd /usr/src/app && npm run-script build

# Expose ports.
# - 1447: CloudBoost Accounts
EXPOSE 1447

#Run the app
CMD [ "npm", "start" ]
41 changes: 41 additions & 0 deletions accounts-ui/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# CloudBoost

[![Build Status](https://travis-ci.org/CloudBoost/account-ui.svg?branch=master)](https://travis-ci.org/CloudBoost/account-ui)

CloudBoost is the Complete NoSQL Database Service for your app. **Think of CloudBoost as Parse + Firebase + Algolia + Iron.io all combined into one** :
- Data-Storage / JSON Storage / BLOB Storage
- 100% data ownership
- Realtime
- Search
- Cache
- Queues
- More - ACL's, User Authentication, Server-less apps and more.


# CloudBoost Accounts

This is a CloudBoost Accounts UI for user management and can be used with [CloudBoost Engine](https://www.github.com/CloudBoost/cloudboost).


# Contributing

Pull requests are very welcome!

We'd love to hear your feedback and suggestions in the issue tracker.


# LICENSE

Copyright 2016 HackerBay, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
23 changes: 23 additions & 0 deletions accounts-ui/app/NotFound.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from 'react';
import { Link } from 'react-router';

export default class NotFound extends React.Component {
constructor() {
super();
}
render() {
document.getElementById("initialLoader").style.display = 'none';
return (
<div id="login">
<img src="public/assets/images/CbLogoIcon.png" style={{ width: 100, height: 100, display: 'block', margin: 'auto', position: 'relative' }} />
<center><h1>404</h1></center>
<br />
<center><p>This is not the webpage you are looking for</p></center>
<div id="links">
<Link style={{float:'left'}} to="login">Login</Link>
<p style={{float:'right'}}>Don't have an account?<Link style={{marginLeft:5}} to="signup">SignUp</Link></p>
</div>
</div >
);
}
}
Binary file added accounts-ui/app/assets/images/CbLogoIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added accounts-ui/app/assets/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions accounts-ui/app/assets/javascripts/key.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
var __isDevelopment = false;
var __isHosted = false;
var __isStaging = window.location.hostname.includes('staging');
var USER_SERVICE_URL = null,
__isBrowser = true,
SERVER_URL = null,
DASHBOARD_URL = null,
ACCOUNTS_URL = null,
DATABROWSER_URL = null,
FILES_URL=null,
ANALYTICS_URL=null,
LANDING_URL = 'https://www.cloudboost.io';

function reqListener () {
eval(this.responseText);
if (__isHosted && !__isStaging) {
Stripe.setPublishableKey('pk_live_MjYxtmApqlNsX2RKmZXA2j7s');
} else {
Stripe.setPublishableKey('pk_test_FueQ6KFwm3HxCM56qzlz0F5F');
}
}

var oReq = new XMLHttpRequest();
oReq.addEventListener("load", reqListener);
oReq.open("GET", "/app/keys");
oReq.send();
Loading

0 comments on commit 15f7078

Please sign in to comment.