The main components of the project are:
/frontend - Client side app, made with react and bundled using Vite.
/backend - Express server that stores data and files using Deta Base / Deta Drive.
Spacefile - configuration for deploying this app to Deta Space
- Install frontend dependencies:
npm run install:frontend
- Start app in development mode:
npm run dev:frontend
- Install and setup Space CLI
- Create a new Space project:
space new
- Install frontend and backend dependencies together:
npm run install
- Start app in development mode:
npm run dev
This will start both the frontend and backend Micros, connect them to your projects development data and emulate the Space routing.