Powered by create-svelte
. Uses MongoDB as the database.
Install dependencies with npm install
(or pnpm install
or yarn
). Then, you must create a .env
file to store the URI of the database:
touch .env
vim .env # or use any other editor
The .env
file has the following structure:
MONGODB_URI=<your URI here>
Note, the URI should also point to a specific database (e.g., mongodb+srv://:@.jdlnt.mongodb.net/).
To start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version:
npm run build
You can preview the production build with npm run preview
.