Getting started
How to get started with Jeasx
It's easy to get started. Just use the following commands to set up and start your first project:
npm create jeasx@latest
cd jeasx-quickstart
npm run dev
Hot reloading is enabled in development mode, allowing modified files to be automatically recompiled.
To run your project in production mode, you'll need to perform a build to export required metadata before starting the server:
export NODE_ENV=production
npm run build
npm start
Jeasx doesn't set NODE_ENV=production for you, so set it yourself for both the build and the server (see environment variables).
You can create a new project with a specific name by providing an additional argument:
npm create jeasx@latest my-awesome-project
If your project is successfully started, just visit http://localhost:3000/ in a browser of your choice. The dev server only listens on localhost. If you develop in a container or VM, start it with HOST=:: npm run dev.
You can visit a deployed version of the quickstart template at https://quickstart.jeasx.dev. The contents of the quickstart template can be found at GitHub.
The best way to get to know Jeasx is by exploring the Expo, which showcases numerous examples using a variety of technologies. You can also easily clone the GitHub repository to experiment with the examples directly on your computer.
Jeasx is developed and tested extensively with the latest LTS version of Node.js. Older versions are not supported, though they may work. Some examples in this documentation need Node.js 22 or newer (e.g. Array.fromAsync).
Alternate JavaScript runtimes
Jeasx is tested occasionally against Bun (bun -b run [build|dev|start]). Currently, no issues have been identified, and all Jeasx examples run as expected. Please note that support for alternative JavaScript runtimes is not guaranteed. If you encounter any issues, feel free to report them.
Create a project with Docker support
If you want to use Docker, you can bootstrap a new project with additional resources (Dockerfile, .dockerignore) via the following flag:
npm create jeasx@latest -- --with-docker
Create a project with Vercel support
If you are going to deploy your project on Vercel, you can bootstrap a project with additional resources (vercel.json, api/vercel.js) via the following flag:
npm create jeasx@latest -- --with-vercel
For the initial setup of a Jeasx project on Vercel, you should select Other as the Application Preset.