Skip to content
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
33 changes: 0 additions & 33 deletions Project_Name/Readme.md

This file was deleted.

2 changes: 0 additions & 2 deletions Project_Name/codebase/index.md

This file was deleted.

File renamed without changes.
File renamed without changes.
38 changes: 38 additions & 0 deletions Remox/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

# ⚡ Hackathon Project Template ⚡
_This is a sample submission repository.
Please [__fork this repo__](https://help.github.com/articles/fork-a-repo/) and use this as a starting point for your hackathon project._

## Remox
### Remox
#### Infrastructure and Web3 Track

##### Baku, Azerbaijan

##### Team Members
- Orkhan, Team lead
- Masud, Financials
- Parviz, Frontend
- Tuncay, Backend
- Parviz, Designer

#### Project Description
Basically, we can buy and store crypto as a person, but crypto wallets are not designed for business. You can't run a payroll, can't pay your suppliers, and can't earn interest while spending. We come with a new kind of money market account, you can pay your employees, contractors and suppliers fee-free on blockchain payment rails with fiat or crypto and earn interest up to 5% on your treasury while spending.

#### Summary
We're planing to build Celo-backed AP/AR and Mass Payouts, which is helping international businesses who are willing to run their business on Celo blockchain (cUSD/cEUR). And our long-term vision, to simplify business operations/treasury management for Defi companies by building our payment stack on top of the Celo blockchain.
1. Fiat on/off ramp through [Ramp](https://ramp.network/)
2. Borderless payment rails through cUSD/cEUR
3. Savings account up to 5% APY on cUSD/cEUR

#### URLs
https://youtu.be/bAhlDEXBrWE

#### Presentation
https://drive.google.com/file/d/1pJxUgoECWuQTXuyALWWKdMdah-UIqAUl/view

#### Next Steps
Ubeswap, Moola and Mobius in the pipeline to use our platform

#### License
This repository includes an [unlicensed](http://unlicense.org/) statement though you may want to [choose a different license](https://choosealicense.com/).
Binary file added Remox/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file added Remox/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Remox/codebase/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
7 changes: 7 additions & 0 deletions Remox/codebase/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:12
WORKDIR /usr/src/app
COPY package*.json ./
COPY yarn.lock ./
COPY ./ ./
RUN yarn install
CMD ["yarn", "start"]
39 changes: 39 additions & 0 deletions Remox/codebase/back-end/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.env
/var
/orbitdb1
# compiled output
/dist
/node_modules
package-lock.json

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# OS
.DS_Store

# Tests
/coverage
/.nyc_output

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
21 changes: 21 additions & 0 deletions Remox/codebase/back-end/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM node:12

# Create app directory, this is in our container/in our image
WORKDIR /usr/src/app

# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./

RUN npm install
# If you are building your code for production
# RUN npm ci --only=production

# Bundle app source
COPY . .

RUN npm run build

EXPOSE 3000
CMD [ "node", "dist/main" ]
1 change: 1 addition & 0 deletions Remox/codebase/back-end/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: npm run start:prod
73 changes: 73 additions & 0 deletions Remox/codebase/back-end/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<p align="center">
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /></a>
</p>

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest

<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
<a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9" alt="Coverage" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
<a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
<a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>
</p>
<!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
[![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->

## Description

[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Installation

```bash
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
```

## Test

```bash
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov
```

## Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## License

Nest is [MIT licensed](LICENSE).
1 change: 1 addition & 0 deletions Remox/codebase/back-end/currency.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"name":"Celo","price":4.69,"percent_24":-11.57793},{"name":"Celo Dollar","price":0.986767,"percent_24":-1.27496},{"name":"Celo Euro","price":1.13,"percent_24":-3.09686},{"name":"Ubeswap","price":0.424085,"percent_24":-16.17477},{"name":"Moola Market","price":0.322927,"percent_24":-9.48952},{"name":"Mobius","price":0.01774008,"percent_24":-5.55726},{"name":"PoofCash","price":0.02971102,"percent_24":-18.029}]
4 changes: 4 additions & 0 deletions Remox/codebase/back-end/nest-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"collection": "@nestjs/schematics",
"sourceRoot": "src"
}
96 changes: 96 additions & 0 deletions Remox/codebase/back-end/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"name": "remox",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"heroku-postbuild": "npm install --only=dev --no-shrinkwrap && npm run build"
},
"dependencies": {
"@celo-tools/celo-ethers-wrapper": "0.0.5",
"@celo/contractkit": "^1.2.5",
"@celo/explorer": "^1.3.3",
"@nestjs/common": "^8.0.0",
"@nestjs/core": "^8.0.0",
"@nestjs/jwt": "^8.0.0",
"@nestjs/passport": "^8.0.1",
"@nestjs/platform-express": "^8.0.0",
"@nestjs/swagger": "^5.1.0",
"@nestjs/typeorm": "^8.0.2",
"@types/bcrypt": "^5.0.0",
"@types/orbit-db": "git+https://github.com/orbitdb/orbit-db-types.git",
"bcrypt": "^5.0.1",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"coingecko-api-v3": "0.0.13",
"dotenv": "^10.0.0",
"ethers": "^5.5.1",
"express": "^4.17.1",
"ipfs": "^0.60.0",
"orbit-db": "^0.27.2",
"passport": "^0.5.0",
"passport-jwt": "^4.0.0",
"pg": "^8.7.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.4.0",
"swagger-ui-express": "^4.1.6",
"typeorm": "^0.2.38",
"web3": "^1.6.0"
},
"devDependencies": {
"@nestjs/cli": "^8.0.0",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.1",
"@types/node": "^16.0.0",
"@types/passport-jwt": "^3.0.6",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
18 changes: 18 additions & 0 deletions Remox/codebase/back-end/src/account/account.controller.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { AccountController } from './account.controller';

describe('UserController', () => {
let controller: AccountController;

beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [AccountController],
}).compile();

controller = module.get<AccountController>(AccountController);
});

it('should be defined', () => {
expect(controller).toBeDefined();
});
});
Loading