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

Added phone number box at regestration #161

Open
wants to merge 22 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ app/client/build/
# macOS
.DS_Store
.python-version

# firebase
service-account-credentials.json
1 change: 1 addition & 0 deletions .profile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo ${GOOGLE_CREDENTIALS} > /app/google-credentials.json
73 changes: 0 additions & 73 deletions CODE_OF_CONDUCT.md

This file was deleted.

64 changes: 0 additions & 64 deletions CONTRIBUTING.md

This file was deleted.

7 changes: 5 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ var express = require('express');
var bodyParser = require('body-parser');
var methodOverride = require('method-override');
var morgan = require('morgan');
var multer = require('multer');

var mongoose = require('mongoose');
var port = process.env.PORT || 3000;
Expand All @@ -25,7 +26,9 @@ app.use(morgan('dev'));
app.use(bodyParser.urlencoded({
extended: true
}));
app.use(bodyParser.json());
app.use(bodyParser.json({
limit: '2mb'
}));

app.use(methodOverride());

Expand All @@ -34,7 +37,7 @@ app.use(express.static(__dirname + '/app/client'));
// Routers =====================================================================

var apiRouter = express.Router();
require('./app/server/routes/api')(apiRouter);
require('./app/server/routes/api')(apiRouter, multer);
app.use('/api', apiRouter);

var authRouter = express.Router();
Expand Down
Binary file modified app/client/assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 1 addition & 18 deletions app/client/assets/images/logo-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading