- Next.js SSR App
- FeathersJS App Connector
- FeathersJS Auth
- Mobx React Form
- Tachyons CSS
- Material UI 3
- PostCSS
- Babel 7
- ESLint 5
Installation using Feathers Plus Generator
npm i -g @feathers-plus/cli
feathers-plus generate app
- configure REST + Socket.io
feathers-plus generate authentication
-
configure Username + Password (Local)
-
add
email
andpassword
fields in theusers
model. -
setup the hostname
api.next.local
-
setup Feathers Auth Management (optional)
Create a .env
file in the root with ENV=development
.
This will load the config from config/env/development.json
.
npm run dev
go to:
http://localhost:3000
or using nanobox:
nanobox run npm run dev
go to:
http://www.next.local:3000
Create a .env
file in the root with ENV=production
.
This will load the config from config/env/production.json
.
npm run build
npm run start
or using nanobox:
nanobox deploy {your-app-name}
RFX-Next is composed by the following directories: app, config, pages, shared.
This structure has been designed to provide config
and shared
as git submodules
.
In this manner, some code and configs can be shared in different apps for a better microservices implementations.