https://github.com/foxhound87/rfx-next
Next.js, FeathersJS, MobX + rfx-core SSR mgmt.
https://github.com/foxhound87/rfx-next
feathers material-ui mobx nextjs postcss react ssr tachyons
Last synced: about 1 month ago
JSON representation
Next.js, FeathersJS, MobX + rfx-core SSR mgmt.
- Host: GitHub
- URL: https://github.com/foxhound87/rfx-next
- Owner: foxhound87
- License: mit
- Created: 2019-02-23T16:08:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T13:34:25.000Z (over 3 years ago)
- Last Synced: 2025-10-13T12:27:26.439Z (5 months ago)
- Topics: feathers, material-ui, mobx, nextjs, postcss, react, ssr, tachyons
- Language: JavaScript
- Homepage:
- Size: 1.13 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Features
* Next.js SSR App
* FeathersJS App Connector
* FeathersJS Auth
* Mobx React Form
* Tachyons CSS
* Material UI 3
* PostCSS
* Babel 7
* ESLint 5
## Setup Feathers App
Installation using [Feathers Plus Generator](https://generator.feathers-plus.com/get-started/)
`npm i -g @feathers-plus/cli`
`feathers-plus generate app`
* configure REST + Socket.io
`feathers-plus generate authentication`
* configure Username + Password (Local)
* add `email` and `password` fields in the `users` model.
* setup the hostname `api.next.local`
* setup [Feathers Auth Management](https://github.com/feathers-plus/feathers-authentication-management) (optional)
## Run RFX NEXT
#### In Development:
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`
#### In Production:
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}`
## Additional suggestions
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.