Skip to content

JeremyChabert/cap-vin

Repository files navigation

⚠️ UNDER CONSTRUCTION ⚠️

Getting Started

Setup

With the first steps below, you can go for a minimal local setup as follows:

  • Install Node.js → always use the latest LTS version.
  • Install SQLite (only required on Windows).
  • Install @sap/cds-dk globally with:
npm i -g @sap/cds-dk
cds # test it

Complementary : Install nvm to be able to switch Node version

Next Steps

  • Open a new terminal and run npm i to install all required dependencies
  • Then run npm run deploy:sql to deploy model on local Sqlite database
  • Finally run cds watch
  • (in VS Code simply choose Terminal > Run Task > cds watch)
  • Start adding content, for example, a db/schema.cds.

App preview

image

Tiles :

  • My wine cellar (under further improvements)
    • See list of wines in wine cellar
  • List of grape varieties
    • Create/Read/Update/Delete grape varieties
    • Add superficies data over the year
    • Overview list of wines that includes the grape varieties

image

  • List of wines
    • Create/Read/Update/Delete wines
    • Add wines to the wine cellar
    • Add grape varieties on the wine

image

  • Overview
    • Insight of wines list, wines per aging time, ...

image

Project structure

Welcome to your new project.

It contains these folders and files, following our recommended project layout:

File or Folder Purpose
app/ content for UI frontends goes here
db/ your domain models and data go here
srv/ your service models and code go here
package.json project metadata and configuration
readme.md this getting started guide

Learn More

Learn more at https://cap.cloud.sap/docs/get-started/.