Imnext is a web application framework with nextjs, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Imnext takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection redux.
- Aims to make application side effects library redux-saga.
- Internationalization-framework i18Next Language.
- Expressive, intuitive Storybook.
- delightful JavaScript Testing Framework with a focus on simplicity Jest.
- Form controller Formlk.
- Form validation Yup.
- Find and fix problems in your JavaScript code ESLint.
- Quickly build your entire app with our Sass variables and mixins bootstrap.
- Immutable JS data structures which are backwards-compatible with normal Arrays and Objects..
Imnext is accessible, powerful, and provides tools required for large, robust applications.
- Nextjs Documentation
- Imnext-js
Check your nodejs version is 12
- PORT: 運行埠號
- SITE_ENV: sandbox, staging) production
- SITE_CODE: site code (ref: src/config/site.js, ex: imnext)
- ROUTE_PREFIX_PATH: next-route, /_next prefix path (ex: /)
- STATIC_BASE_URL: Static file base url (ex: http://static.com/static, /static)
- API_BASE_URL: API Base path (ex: http://static.com/api, /api)
# Clone project
$ clone [email protected]:imagine10255/imnext.git my-imnext-project
# Enter folder and Install, then copy environment setting
$ cd my-imnext-project && yarn && cp .env.sandbox .env
# Start develop
$ yarn dev
> 🚀 Ready on http://localhost:3000
open browser example in http://localhost:3000/example
# Ready Release
$ docker-compose build
# Run
$ docker-compose up --build
> 🚀 Ready on http://localhost:3000
# Build and Exprot
$ yarn build && yarn export
# Test Run
$ yarn export:start
> Local: http://localhost:8080
$ rm -rf ./src/pages/example ./public/static/images/example ./src/container/example ./public/static/locales/*/example.json