This is a default template for fast web applications base on Foundation (with AngularJs) and RestifyJS
You'll need the following software installed to get started.
- Chocolatey: As a dependecy installer for Windows
- Node.js: Use the installer for your OS.
- Nodemon: Use
npm install -g nodemon
- MongoDB: You can use the oficial installer or use choco to install it using the command Use
choco install mongodb
- Git: Use the installer for your OS.
- Windows users can also try Git for Windows.
- Gulp and Bower: Run
npm install -g gulp bower
- Depending on how Node is configured on your machine, you may need to run
sudo npm install -g gulp bower
instead, if you get an error with the first command.
- Depending on how Node is configured on your machine, you may need to run
- Curl: Run
choco install curl
Clone this repository, where app
is the name of your app.
git clone https://github.com/nicolasgaraza/Foundation-Restify-Mongo.git app
Change into the directory.
cd app
Install the dependencies. If you're running Mac OS or Linux, you may need to run sudo npm install
instead, depending on how your machine is configured.
npm install
bower install
While you're working on your project, run:
npm start
This will compile the Sass and assemble your Angular app. Now go to localhost:8079
in your browser to see it in action. When you change any file in the client
folder, the appropriate Gulp task will run to build new files.
The restify application will start on localhost:8080
. Try curl http://localhost:8080/hello/user
to see it in action
To run the compiling process once, without watching any files, use the build
command.
npm start build
Add more example for the TODO app (client and server) Add Unit test framework support Add OAuth2 security
Special thanks to the foundation app creator located at http://foundation.zurb.com/apps/docs/#!/installation this template was created usinging it as a base
Thanks!!!