A brief description of what this project does and who it's for
Install my-project with npx
npx create-next-abstract my-project cd my-project- Client and Server side fetcher
- Multi Backend support
- Fullscreen mode
- Cross platform
To run this project, you will need to add the following environment variables to your .env file
| Category | Description |
|---|---|
NEXT_PUBLIC_SITENAME | Your site name |
NEXT_PUBLIC_LOCAL_URL | Link of your local site |
NEXT_PUBLIC_IMG_SERVER | Link of your asset server |
NEXT_PUBLIC_DEFAULT_TARGET | Default backend to be targetted |
TOKEN_LIFETIME | Time a token have to staty in cache |
PROXY_ROUTE | Define if you want to change your default dispatcher route |
REDIS_URL | Link of redis server |
| Category | Description |
|---|---|
MYBACK_BACKEND_URL | Link of your backend server |
MYBACK_IDENTIFIER | CRED client_id |
MYBACK_PASSWORD | CRED client_secret |
MYBACK_GRANT_TYPE | OPT grant_type of your backend |
MYBACK_SCOPE | OPT scope of your backend server |
To run tests, run the following command
yarn testClient: React, Next.js, ChakraUI
Server: Node
This project is used by the following projects:
Contributions are always welcome!
See contributing.md for ways to get started.
Please adhere to this project's code of conduct.
Clone the project
git clone https://github.com/osnmarket/abstract.gitGo to the project directory
cd my-projectInstall dependencies
yarnStart the server
yarn dev-
Additional browser support
-
Add more integrations
If you have any feedback, please reach out to us at teamb2c@orange-sonatel.com
