This is a ROQ project showcasing how to use ROQ UI widgets and backend APIs with a combination of these technologies
- ROQ React Components
- ROQ Node.js SDK
- Create React App, bootstrapped with
create-react-app
- Prisma ORM with Postgres
Step 1 - You need a running Postgres instance. You may start it up by just running
docker-compose up
Step 2 - Setup your ROQ environment variables. Check the example .env.example file You can get the environment variables from the ROQ Console
cp .env.example .env
# Get the variables from the ROQ console, and replace the values
Step 3 - You can then install, run migrations, and start up your application
# With Yarn
yarn
npx prisma migrate dev
yarn dev
or
# With npm
npm install
npx prisma migrate dev
npm run dev
Your app should be running at http://localhost:3000 by default.
To learn more about ROQ UI components and APIs, take a look at ROQ Documentation