merged config/env/test.js

This commit is contained in:
David Baldwynn 2015-08-21 10:18:45 -07:00
commit b7e5b47a18
10 changed files with 50 additions and 35 deletions

View file

@ -1,34 +1,38 @@
MEDFORMS
NodeForms
--------
[![Build Status](https://travis-ci.org/whitef0x0/medforms.svg?branch=master)](https://travis-ci.org/whitef0x0/medforms)
[![Dependencies Status](https://david-dm.org/whitef0x0/medforms.svg)](https://david-dm.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/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
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.
* 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.
* 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/).
* 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.
Currently following features are implemented:
##Current Features
-User login system to manage forms
-User CRUD
-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
@ -38,9 +42,14 @@ $ npm install
$ bower install
```
Then run your application using grunt.
To run development version:
```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)

2
config/env/all.js vendored
View file

@ -2,7 +2,7 @@
module.exports = {
app: {
title: 'MedForms',
title: 'NodeForms',
description: 'Generate Forms from PDFs',
keywords: 'typeform, pdfs, forms, generator, form generator',
},

View file

@ -19,7 +19,7 @@ module.exports = {
}
},
app: {
title: 'MedForms'
title: 'NodeForms'
},
facebook: {
clientID: process.env.FACEBOOK_ID || 'APP_ID',

2
config/env/test.js vendored
View file

@ -20,7 +20,7 @@ module.exports = {
}
},
app: {
title: 'MedForms Test'
title: 'NodeForms Test'
},
facebook: {
clientID: process.env.FACEBOOK_ID || 'APP_ID',

View file

@ -1,7 +1,7 @@
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
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).

View file

@ -9,7 +9,7 @@
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/whitef0x0/medforms.git"
"url": "https://github.com/whitef0x0/NodeForms.git"
},
"engines": {
"node": "~0.10.28",

View file

@ -17,12 +17,18 @@
<h1 class="lead col-md-10 col-md-offset-1 hidden-xs hidden-sm" style="font-size:3.8em;">
Craft beautiful forms in seconds.
</h1>
<<<<<<< HEAD
<h2 class="lead col-xs-12 text-center hidden-md hidden-lg" style="font-size:2.8em;">
Craft beautiful forms.
</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)">
<i>Medforms is an opensource <b>form builder</b> that can create stunning forms from PDFs or from scratch</i>
</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 class="col-xs-12" style="margin-top:7%;">

View file

@ -3,7 +3,7 @@
<!-- div class="row">
<div class="page-header col-xs-10 col-xs-offset-1">
<h1>My MedForms</h1>
<h1>My NodeForms</h1>
</div>
</div> -->
<br>

View file

@ -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>
<div class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6">
<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>
</h2>
<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">
<button type="submit" class="btn btn-large btn-primary">
<a href="/#!/" style="color: white; text-decoration: none;">Continue</a>

View file

@ -29,7 +29,7 @@
<h2>
A verification email has been sent to {{username}}.<br>But your account is still <b>not activated yet</b>
</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">
<button type="submit" class="btn btn-large btn-primary">
<a href="/#!/">Continue</a>