Example App: https://github.com/fervorous/fervor-todo-mvc
Docs: https://github.com/fervorous/fervor/wiki
Getting Started: https://github.com/fervorous/fervor/wiki/Getting-Started
A batteries included, config free, fullstack framework to build modern web apps. Just write your data migrations, throw some components together and we'll handle the rest. We know you want universal rendering, we know you want to own your own data, we know you don't really want to write your own APIs that just move some data from one place to another. We've automated all that away, integrated with all the best libraries in the node community.
- Universal React
- Auto generated GraphQL based on your Postgres schema
- Data Migrations
- Server and client rendered GraphQL
- CSS Modules
- Hot reloading
- CLI
- Service Worker Caching
- Progressive Web App Ready
- Code Splitting: Base bundles, routes and common files
- PostgreSQL installed and running (OSX guide, Linux guide)
- NodeJS installed - take a look at NVM
- Install Yarn (Required - for now)
yarn global add fervor
fervor create [your app name]; cd [your app name]
yarn install
- Create a database (
createdb [appname]
), or update the .env file yarn start:dev
Note - fervor create
will create an app in the current directory, and use the current directory name as the name of the app.
- Create some migrations using
fervor migrate:make [migration name]
- Run the migrations using
fervor migrate:latest
, rollback usingfervor migrate:rollback
- Have some fun with your auto generated graphql. Inspect by visiting
http://localhost:3000/admin/graphiql
- Write some React components, and make your app look great!
- Deploy to heroku copying
app.json
from our example app. Also copy the heroku prebuild step from package.json - Try out the production build locally by running
yarn build; yarn start:prod
Your name could be here too! Read CONTRIBUTING.md for more details