-
Notifications
You must be signed in to change notification settings - Fork 6
Getting involved!
First of thing is configure your enviroment to run intrepid Hello world!. You need to install few fools need the following packages:
sudo apt-get install nodejs npm redis-server mongodb
Now we need to get all intrepidjs dependencies. We install intrepidjs-cli ultility via npm:
npm update && sudo npm install -g intrepidjs-cli
Now we have all we need to start. We need to create the folder for our new intrepidjs project.
We will use intrepidjs-init
for it. There is an utility that clones the repo, gets last version of code and do many magic things for us. The intrepidjs-init
command creates a new folder to the project. If we don't use a param for the command, default name for the folder will be intrepidjs.
mkdir intrepidjs && cd intrepidjs
intrepidjs-init myApp
When it complete successfully, the message Express server listening on port 8000
will be shown.
Open your browser and go to:
Now you can register a new user and preview basic intrepidjs features. If you want to know what we have, read the next point: What does intrepidjs provide?
If you are reading this it's because you're dying to know how intrepidjs
can helps you to create your MEAN web app.
TODO: explain core features here: chat, users managemenet, etc.
Intrepidjs helps you to develop nodejs applications. To show you, we are going to create our first module. To do that, run in intrepidjs repo root folder:
./make.js createmodule FirstIntrepidJsModule
That CLI tool create several stuff need to create your first module. That utily create following elements in modules/FirstIntrepidJsModule:
app.js
settings.js
data/ middlewares/ public/ routes/ views/