merged config/env/test.js
This commit is contained in:
commit
b7e5b47a18
61
README.md
61
README.md
|
@ -1,34 +1,38 @@
|
||||||
MEDFORMS
|
NodeForms
|
||||||
--------
|
--------
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/whitef0x0/medforms.svg?branch=master)](https://travis-ci.org/whitef0x0/medforms)
|
[![Build Status](https://travis-ci.org/whitef0x0/NodeForms.svg?branch=master)](https://travis-ci.org/whitef0x0/NodeForms)
|
||||||
[![Dependencies Status](https://david-dm.org/whitef0x0/medforms.svg)](https://david-dm.org/whitef0x0/medforms)
|
[![Dependencies Status](https://david-dm.org/whitef0x0/NodeForms.svg)](https://david-dm.org/whitef0x0/NodeForms)
|
||||||
|
|
||||||
Medforms is an opensource *form builder* that can create stunning forms from PDFs or from scratch
|
NodeForms is an opensource *form builder* built ontop of nodejs that can create stunning forms from PDFs or from scratch
|
||||||
|
|
||||||
## Before You Begin
|
Currently following features are implemented:
|
||||||
Before you begin we recommend you read about the basic building blocks that assemble a MEAN.JS application:
|
|
||||||
* MongoDB - Go through [MongoDB Official Website](http://mongodb.org/) and proceed to their [Official Manual](http://docs.mongodb.org/manual/), which should help you understand NoSQL and MongoDB better.
|
##Current Features
|
||||||
* Express - The best way to understand express is through its [Official Website](http://expressjs.com/), which has a [Getting Started](http://expressjs.com/starter/installing.html) guide, as well as an [ExpressJS Guide](http://expressjs.com/guide/error-handling.html) guide for general express topics. You can also go through this [StackOverflow Thread](http://stackoverflow.com/questions/8144214/learning-express-for-node-js) for more resources.
|
-User login system to manage forms
|
||||||
* AngularJS - Angular's [Official Website](http://angularjs.org/) is a great starting point. You can also use [Thinkster Popular Guide](http://www.thinkster.io/), and the [Egghead Videos](https://egghead.io/).
|
-User CRUD
|
||||||
* Node.js - Start by going through [Node.js Official Website](http://nodejs.org/) and this [StackOverflow Thread](http://stackoverflow.com/questions/2353818/how-do-i-get-started-with-node-js), which should get you going with the Node.js platform in no time.
|
-Form CRUD
|
||||||
|
-11 possible types of form fields
|
||||||
|
-Editable startpage
|
||||||
|
-Create forms from FDF-formatted PDFs (unstable)
|
||||||
|
-Save form submissions as FDF-formatted PDFs (unstable)
|
||||||
|
-Toggle forms as private (viewable only if logged in as Form's user) or public (viewable by anyone)
|
||||||
|
-Drag and drop functionality to editing form field order
|
||||||
|
-Editable form submissions (half-done)
|
||||||
|
|
||||||
|
#TODO:
|
||||||
|
-Implement encryption for all form data
|
||||||
|
-Implement custom form design
|
||||||
|
-Finish frontend/backend testing
|
||||||
|
-Integrate AWS for PDF saving
|
||||||
|
-Add Typeform API integration
|
||||||
|
-Add OscarHost API integration
|
||||||
|
-Add plugin support (ala Slack)
|
||||||
|
-Create wiki for easy installation and setup
|
||||||
|
-Create mockups for different user view designs
|
||||||
|
|
||||||
|
|
||||||
## Prerequisites
|
|
||||||
Make sure you have installed all of the following prerequisites on your development machine:
|
|
||||||
* Node.js - [Download & Install Node.js](http://www.nodejs.org/download/) and the npm package manager. If you encounter any problems, you can also use this [GitHub Gist](https://gist.github.com/isaacs/579814) to install Node.js.
|
|
||||||
* MongoDB - [Download & Install MongoDB](http://www.mongodb.org/downloads), and make sure it's running on the default port (27017).
|
|
||||||
* Bower - You're going to use the [Bower Package Manager](http://bower.io/) to manage your front-end packages. Make sure you've installed Node.js and npm first, then install bower globally using npm:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ npm install -g bower
|
|
||||||
```
|
|
||||||
|
|
||||||
* Grunt - You're going to use the [Grunt Task Runner](http://gruntjs.com/) to automate your development process. Make sure you've installed Node.js and npm first, then install grunt globally using npm:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ npm install -g grunt-cli
|
|
||||||
```
|
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
|
@ -38,9 +42,14 @@ $ npm install
|
||||||
$ bower install
|
$ bower install
|
||||||
```
|
```
|
||||||
|
|
||||||
Then run your application using grunt.
|
To run development version:
|
||||||
```bash
|
```bash
|
||||||
$ grunt
|
$ grunt default
|
||||||
|
```
|
||||||
|
|
||||||
|
To run production version:
|
||||||
|
```bash
|
||||||
|
$ grunt production
|
||||||
```
|
```
|
||||||
|
|
||||||
Your application should run on port 3000, so in your browser just go to [http://localhost:3000](http://localhost:3000)
|
Your application should run on port 3000, so in your browser just go to [http://localhost:3000](http://localhost:3000)
|
||||||
|
|
2
config/env/all.js
vendored
2
config/env/all.js
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
app: {
|
app: {
|
||||||
title: 'MedForms',
|
title: 'NodeForms',
|
||||||
description: 'Generate Forms from PDFs',
|
description: 'Generate Forms from PDFs',
|
||||||
keywords: 'typeform, pdfs, forms, generator, form generator',
|
keywords: 'typeform, pdfs, forms, generator, form generator',
|
||||||
},
|
},
|
||||||
|
|
2
config/env/development.js
vendored
2
config/env/development.js
vendored
|
@ -19,7 +19,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
app: {
|
app: {
|
||||||
title: 'MedForms'
|
title: 'NodeForms'
|
||||||
},
|
},
|
||||||
facebook: {
|
facebook: {
|
||||||
clientID: process.env.FACEBOOK_ID || 'APP_ID',
|
clientID: process.env.FACEBOOK_ID || 'APP_ID',
|
||||||
|
|
2
config/env/test.js
vendored
2
config/env/test.js
vendored
|
@ -20,7 +20,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
app: {
|
app: {
|
||||||
title: 'MedForms Test'
|
title: 'NodeForms Test'
|
||||||
},
|
},
|
||||||
facebook: {
|
facebook: {
|
||||||
clientID: process.env.FACEBOOK_ID || 'APP_ID',
|
clientID: process.env.FACEBOOK_ID || 'APP_ID',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Installing Sentry Server
|
Installing Sentry Server
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
Medforms is an opensource *form builder* that can create stunning forms from PDFs or from scratch
|
NodeForms is an opensource *form builder* that can create stunning forms from PDFs or from scratch
|
||||||
|
|
||||||
## Before You Begin
|
## Before You Begin
|
||||||
Make sure you understand what sentry server does. You can view documentation for sentry server [here](https://sentry.readthedocs.org/). This document was written for a server running *Ubuntu 14.04 LTS server* (we used Azure).
|
Make sure you understand what sentry server does. You can view documentation for sentry server [here](https://sentry.readthedocs.org/). This document was written for a server running *Ubuntu 14.04 LTS server* (we used Azure).
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/whitef0x0/medforms.git"
|
"url": "https://github.com/whitef0x0/NodeForms.git"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "~0.10.28",
|
"node": "~0.10.28",
|
||||||
|
|
|
@ -17,12 +17,18 @@
|
||||||
<h1 class="lead col-md-10 col-md-offset-1 hidden-xs hidden-sm" style="font-size:3.8em;">
|
<h1 class="lead col-md-10 col-md-offset-1 hidden-xs hidden-sm" style="font-size:3.8em;">
|
||||||
Craft beautiful forms in seconds.
|
Craft beautiful forms in seconds.
|
||||||
</h1>
|
</h1>
|
||||||
|
<<<<<<< HEAD
|
||||||
<h2 class="lead col-xs-12 text-center hidden-md hidden-lg" style="font-size:2.8em;">
|
<h2 class="lead col-xs-12 text-center hidden-md hidden-lg" style="font-size:2.8em;">
|
||||||
Craft beautiful forms.
|
Craft beautiful forms.
|
||||||
</h2>
|
</h2>
|
||||||
<p class="lead col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2" style="font-size:1.5em; color:rgba(255,255,255,.75)">
|
<p class="lead col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2" style="font-size:1.5em; color:rgba(255,255,255,.75)">
|
||||||
<i>Medforms is an opensource <b>form builder</b> that can create stunning forms from PDFs or from scratch</i>
|
<i>Medforms is an opensource <b>form builder</b> that can create stunning forms from PDFs or from scratch</i>
|
||||||
</p>
|
</p>
|
||||||
|
=======
|
||||||
|
<p class="lead col-xs-12" style="font-size:1.5em; color:rgba(255,255,255,.75)">
|
||||||
|
<i>NodeForms is an opensource <b>form builder</b> that can create stunning forms from PDFs or from scratch</i>
|
||||||
|
</h1>
|
||||||
|
>>>>>>> master
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-12" style="margin-top:7%;">
|
<div class="col-xs-12" style="margin-top:7%;">
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<!-- div class="row">
|
<!-- div class="row">
|
||||||
<div class="page-header col-xs-10 col-xs-offset-1">
|
<div class="page-header col-xs-10 col-xs-offset-1">
|
||||||
<h1>My MedForms</h1>
|
<h1>My NodeForms</h1>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -20,13 +20,13 @@
|
||||||
<h3 class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6 text-center">Signup Successful</h3>
|
<h3 class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6 text-center">Signup Successful</h3>
|
||||||
<div class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6">
|
<div class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6">
|
||||||
<h2>
|
<h2>
|
||||||
You've successfully registered an account at MedForms.
|
You've successfully registered an account at NodeForms.
|
||||||
|
|
||||||
<br><br>But your account is <b>not activated yet</b>
|
<br><br>But your account is <b>not activated yet</b>
|
||||||
</h2>
|
</h2>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<p>Before you continue, make sure to check your email for our verification. If you don't receive it within 24h drop us a line at <a href="mail:hi@medforms.com">hi@medforms.com</a></p>
|
<p>Before you continue, make sure to check your email for our verification. If you don't receive it within 24h drop us a line at <a href="mail:hi@NodeForms.com">hi@NodeForms.com</a></p>
|
||||||
<div class="text-center form-group">
|
<div class="text-center form-group">
|
||||||
<button type="submit" class="btn btn-large btn-primary">
|
<button type="submit" class="btn btn-large btn-primary">
|
||||||
<a href="/#!/" style="color: white; text-decoration: none;">Continue</a>
|
<a href="/#!/" style="color: white; text-decoration: none;">Continue</a>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<h2>
|
<h2>
|
||||||
A verification email has been sent to {{username}}.<br>But your account is still <b>not activated yet</b>
|
A verification email has been sent to {{username}}.<br>But your account is still <b>not activated yet</b>
|
||||||
</h2>
|
</h2>
|
||||||
<p>Check your email and click on the activation link to activate your account. If you have any questions drop us a line at <a href="mail:hi@medforms.com">hi@medforms.com</a></p>
|
<p>Check your email and click on the activation link to activate your account. If you have any questions drop us a line at <a href="mail:hi@NodeForms.com">hi@NodeForms.com</a></p>
|
||||||
<div class="text-center form-group">
|
<div class="text-center form-group">
|
||||||
<button type="submit" class="btn btn-large btn-primary">
|
<button type="submit" class="btn btn-large btn-primary">
|
||||||
<a href="/#!/">Continue</a>
|
<a href="/#!/">Continue</a>
|
||||||
|
|
Loading…
Reference in a new issue