One is a React framework that aims to make full stack development as simple as possible - whether you're making a website, an app, or sharing code between the two.
This framework is brought to you by the team who created Tamagui, so naturally I am keen to test it out.
Make sure you are running Node 18 or above then run
npx one
Follow the prompts and select the Fullstack template with Drizzle, Postgres and all the good stuff.
We will use Docker to run Postgres for us so make sure you have Docker desktop installed then run:
docker compose up
Next we will setup, sync our tables and seed our db using drizzle:
yarn db:init
If that all works you should now be able to run the dev server:
yarn one dev
ow
Simple routing with nested layouts, groups all fully typed
Select globally and per page
Typed data loaders, similar to remix
Build your website and React Native app at the same time, sharing components
No more Metro, one plugin, one server, one port - three platforms.
A new general purpose sync engine