Skip to content

Commit 79e46a4

Browse files
committed
crypto tracker
0 parents  commit 79e46a4

File tree

119 files changed

+10551
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+10551
-0
lines changed

.gitignore

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# App artifacts
2+
/_build
3+
/db
4+
/deps
5+
/*.ez
6+
7+
# Generated on crash by the VM
8+
erl_crash.dump
9+
10+
# Generated on crash by NPM
11+
npm-debug.log
12+
issues
13+
# Static artifacts
14+
/assets/node_modules
15+
16+
# Since we are building assets from assets/,
17+
# we ignore priv/static. You may want to comment
18+
# this depending on your deployment strategy.
19+
/priv/static/
20+
21+
# Files matching config/*.secret.exs pattern contain sensitive
22+
# data and you should not commit them into version control.
23+
#
24+
# Alternatively, you may comment the line below and commit the
25+
# secrets files as long as you replace their contents by environment
26+
# variables.
27+
/config/*.secret.exs

README.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# CryptoTracker
2+
3+
To start your Phoenix server:
4+
5+
* Install dependencies with `mix deps.get`
6+
* Create and migrate your database with `mix ecto.create && mix ecto.migrate`
7+
* Install Node.js dependencies with `cd assets && npm install`
8+
* Start Phoenix endpoint with `mix phx.server`
9+
10+
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
11+
12+
To do
13+
- Add range in alerts
14+
- Explore wallet support
15+
16+
Sample User for Testing on Website:
17+
18+
Name: Alice
19+
password: password1
20+
21+
Attributions:
22+
23+
https://elixir-lang.org/docs.html
24+
https://hexdocs.pm/phoenix/Phoenix.html
25+
https://getbootstrap.com/docs/4.0/getting-started/introduction/
26+
https://hexdocs.pm/phoenix/channels.html
27+
https://hexdocs.pm/phoenix/Phoenix.Socket.html
28+
https://coinmarketcap.com/api/
29+
https://en.bitcoinwiki.org/wiki/Coinmarketcap
30+
https://github.com/cjdowner/cryptocurrency-icons
31+
https://getbootstrap.com/docs/4.0/content/reboot/
32+
https://github.com/cjdowner/cryptocurrency-icons
33+
https://medium.com/@efexen/periodic-tasks-with-elixir-5d9050bcbdb3
34+
https://sabe.io/tutorials/getting-started-with-react
35+

assets/brunch-config.js

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
exports.config = {
2+
// See http://brunch.io/#documentation for docs.
3+
files: {
4+
javascripts: {
5+
joinTo: "js/app.js"
6+
7+
// To use a separate vendor.js bundle, specify two files path
8+
// http://brunch.io/docs/config#-files-
9+
// joinTo: {
10+
// "js/app.js": /^js/,
11+
// "js/vendor.js": /^(?!js)/
12+
// }
13+
//
14+
// To change the order of concatenation of files, explicitly mention here
15+
// order: {
16+
// before: [
17+
// "vendor/js/jquery-2.1.1.js",
18+
// "vendor/js/bootstrap.min.js"
19+
// ]
20+
// }
21+
},
22+
stylesheets: {
23+
joinTo: "css/app.css"
24+
},
25+
templates: {
26+
joinTo: "js/app.js"
27+
}
28+
},
29+
30+
conventions: {
31+
// This option sets where we should place non-css and non-js assets in.
32+
// By default, we set this to "/assets/static". Files in this directory
33+
// will be copied to `paths.public`, which is "priv/static" by default.
34+
assets: /^(static)/
35+
},
36+
37+
// Phoenix paths configuration
38+
paths: {
39+
// Dependencies and current project directories to watch
40+
watched: ["static", "css", "js", "vendor"],
41+
// Where to compile files to
42+
public: "../priv/static"
43+
},
44+
45+
// Configure your plugins
46+
plugins: {
47+
babel: {
48+
// Do not use ES6 compiler in vendor code
49+
ignore: [/vendor/],
50+
presets: ['env', 'react'],
51+
},
52+
sass: {
53+
options: {
54+
includePaths: ["node_modules/bootstrap/scss"],
55+
precision: 8,
56+
}
57+
}
58+
},
59+
60+
modules: {
61+
autoRequire: {
62+
"js/app.js": ["js/app"]
63+
}
64+
},
65+
66+
npm: {
67+
enabled: true,
68+
globals: {
69+
_: 'underscore',
70+
$: 'jquery'
71+
}
72+
}
73+
};

assets/css/app.scss

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* This file is for your main application css. */
2+
/*
3+
Attribution: bootstrap docs
4+
5+
6+
*/
7+
@import "bootstrap";
8+
.board-row:after {
9+
clear: both;
10+
content: "";
11+
display: table;
12+
}
13+
14+
.card-image{
15+
width: 40%;
16+
height: 10vw;
17+
18+
}
19+
20+
21+
.text {
22+
text-align: center;
23+
font-family: "Montserrat", sans-serif;
24+
font-size: 28px;
25+
font-weight: 900;
26+
font-style: italic;
27+
margin-top: 50px;
28+
color: #fff;
29+
-webkit-touch-callout: none;
30+
-webkit-user-select: none;
31+
-khtml-user-select: none;
32+
-moz-user-select: none;
33+
-ms-user-select: none;
34+
user-select: none;
35+
}

0 commit comments

Comments
 (0)