This is a work in progress, todos:
Sapeur is the French word for Sapper, the server side framework of this project.
This full stack Svelte/Sapper project was bootstrapped with the default Sapper template.
It uses the following stack:
In the project directory, you can run:
yarn mongo or npm run mongowill start the mongoDB instance. A MongoDb must been installed first with the datafiles in ./db or in another location by setting up the DB_URL prop in ,/src/config.server.js
yarn mongoDefault or npm run mongoDefaultwill restore a default dataset in the mongoDb database named sapeur
yarn mongoDump or npm run mongoDumpwill dump/backup the database sapeur in the mongoDump folder with the package version as identifier
yarn dev or npm run devRuns the app in the development mode.
Open http://localhost:3000 to view it in the browser.
yarn build or npm run buildTo build the production code.
yarn start or npm run startTo run the app in production mode.
Open http://localhost:3000 to view it in the browser.
yarn cy:run or npm run cy:runTo run tests with Cypress
yarn cy:open or npm run cy:ruopennTo access Cypress dashboard