• Stars
    star
    1,665
  • Rank 28,074 (Top 0.6 %)
  • Language
    JavaScript
  • License
    Other
  • Created almost 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐ŸŒฒ Modern Web Application Framework for Node.js.

Gitter NPM version Linux + OSX Build Status Windows Build Status Test Coverage Follow @trailsjs on Twitter

Trails is a modern, community-driven web application framework for Node.js. It builds on the pedigree of Rails and Grails to accelerate development by adhering to a straightforward, convention-based, API-driven design philosophy.

Getting Started

Install

$ npm install -g yo generator-trails
$ yo trails

Trailblaze

Trails uses Yeoman to generate scaffolding for new applications, and to create resources inside the application.

$ yo trails --help

Usage:
  yo trails

Generators:

  Create New Model
    yo trails:model <model-name>

  Create New Controller
    yo trails:controller <controller-name>

  Create New Policy
    yo trails:policy <policy-name>

  Create New Service
    yo trails:service <service-name>

Run

Once installation is complete, begin your journey!

$ node server.js

Happy Trails!

Trailpacks

Trailpacks extend the framework's capabilities and allow developers to leverage existing ecosystem tools through a simple and well-defined API. New features, behavior, APIs, and other functionality can be added to the Trails framework through Trailpacks.

Many Trails installations will include some of the following Trailpacks:

Compatibility

  • Windows, Mac, and Linux
  • Node 7.0 and newer

Documentation

See trailsjs.io/doc for complete documentation.

More Resources

Tutorials

Videos

Support

FAQ

See https://github.com/trailsjs/trails/wiki/FAQ

Contributing

We love contributions! Please check out our Contributor's Guide for more information on how our projects are organized and how to get started.

License

MIT

More Repositories

1

sails-permissions

Comprehensive user permissions and entitlements system for sails.js and Waterline. Supports user authentication with passport.js, role-based permissioning, object ownership, and row-level security.
JavaScript
418
star
2

sails-auth

Passport-based User Authentication system for sails.js applications. Designed to work well with the sails-permissions module.
JavaScript
265
star
3

sails-swagger

Swagger integration for sails.js
JavaScript
107
star
4

trailpack-hapi

๐Ÿ“ฆ Hapi.js Trailpack
JavaScript
19
star
5

doc

๐Ÿ“š Trails.js Documentation
CSS
18
star
6

trailpack

๐Ÿ“ฆ Trailpack Module. All Trailpacks include and inherit this module.
JavaScript
17
star
7

trails-example-app

๐Ÿ“— An example Trails App
JavaScript
14
star
8

trailpack-router

๐Ÿ“ฆ Router. Aggregate and Configure Application Routes.
JavaScript
11
star
9

trailpack-webpack

๐Ÿ“ฆ Webpack Trailpack.
JavaScript
11
star
10

blaze

๐Ÿ”ฅ Blaze Trails. Create Views automatically from your Models (uses React.js)
10
star
11

trailpack-waterline

๐Ÿ“ฆ Waterline.js Trailpack
JavaScript
8
star
12

trailpack-mongoose

๐Ÿ“ฆ Mongoose.js Trailpack http://mongoosejs.com
JavaScript
8
star
13

trailpack-repl

๐Ÿ“ฆ REPL Trailpack
JavaScript
8
star
14

generator-trailpack

JavaScript
7
star
15

trailpack-sails

๐Ÿ“ฆ Run a Sails.js Application with Trails.
JavaScript
7
star
16

trailpack-microservices

๐Ÿ“ฆ Microservices Trailpack
6
star
17

trailpack-auth

6
star
18

trailpack-swagger

๐Ÿ“ฆ Swagger Trailpack
JavaScript
6
star
19

trailpack-footprints

๐Ÿ“ฆ Footprints Trailpack
JavaScript
6
star
20

trailpack-core

๐Ÿ“ฆ Core Trailpack
JavaScript
6
star
21

trailpack-sequelize

๐Ÿ“ฆ Sequelize.js Trailpack http://sequelizejs.com
JavaScript
5
star
22

eslint-config-trails

:shipit: Trails ESLint Configuration
JavaScript
5
star
23

trailpack-realtime

๐Ÿ“ฆ Realtime Trailpack. Synchronize the client and server via WebSockets
JavaScript
5
star
24

trailpack-autoreload

๐Ÿ“ฆ Reload Trails on Code Changes
JavaScript
5
star
25

trailpack-knex

๐Ÿ“ฆ Knex.js Trailpack
JavaScript
4
star
26

trailpack-bookshelf

๐Ÿ“ฆ Bookshelf.js Trailpack
JavaScript
4
star
27

trailpack-permissions

4
star
28

trailpack-koa

๐Ÿ“ฆ Koa Trailpack
JavaScript
3
star
29

trailpack-bootstrap

๐Ÿ“ฆ bootstrap Trailpack (run a custom startup function in Trails)
JavaScript
3
star
30

smokesignals

๐Ÿ”ฅ Utilities for testing Trails Applications and Trailpacks
JavaScript
3
star
31

trailpack-tasker

๐Ÿ“ฆ Easily set up background workers with a Message Broker (e.g. RabbitMQ, Kafka)
JavaScript
3
star
32

trailpack-cache

๐Ÿ“ฆ Cache Trailpack
JavaScript
3
star
33

trailpack-fixtures

๐Ÿ“ฆ Fixtures Trailpack. Prime the datastore with an initial dataset.
3
star
34

trailpack-elasticsearch

๐Ÿ“ฆ Elasticsearch Trailpack
JavaScript
3
star
35

art

Trails Branding Materials
2
star
36

trailpack-markdown-doc

๐Ÿ“ฆ Trailpack for Markdown Doc Bundler
JavaScript
2
star
37

trailpack-webserver

๐Ÿ“ฆ Parent to the Web Server Trailpacks (hapi, koa, express4, etc)
JavaScript
2
star
38

trailpack-rethinkdb

Trailspack for https://rethinkdb.com
1
star
39

trails-relay-react-todomvc

TodoMVC Example using Trails, GraphQL, Relay, and React.js
1
star
40

trails-model

๐ŸŒ Trails Model Class
JavaScript
1
star
41

generator-util

Trails Generator Utilities
JavaScript
1
star
42

trailsjs.io

๐ŸŒฒ Trails website hosted on Trails
JavaScript
1
star
43

trailpack-typescript

1
star
44

trailpack-agenda

Trailpack for Agenda Job Scheduler - https://github.com/rschmukler/agenda
JavaScript
1
star
45

trailpack-winston

๐Ÿ“ฆ Winston Logging Trailpack
JavaScript
1
star
46

trailsjs.github.io

๐Ÿ“š Trails Website
HTML
1
star
47

trails-todo-app

A todo list app built using Trails and React.js
JavaScript
1
star
48

trailpack-pubsub

Redis Pub/Sub implementation for Trails.js app
JavaScript
1
star
49

org

1
star
50

trailpack-datastore

๐Ÿ“ฆ Parent to the Datastore Trailpacks (waterline, bookshelf, sequelize, etc)
JavaScript
1
star
51

trails-file-upload-example

Describes how to upload files using Trails.
JavaScript
1
star