Example

Example

This is a repo with example programs that show different aspects on how to work with Node.js. The examples are used as a base for the weekly Zoom sessions.

You can review the repo at GitLab 1DV523 Example.

You can clone the repo like this.

clone git@gitlab.lnu.se:1dv523/content/example.git

There is a package.json in the root of the repo. You can install the linters and run the testsuite to check if the source complies with the linters.

# Install the needed linters
npm install

# Run the testsuite with the linters
npm test

# Check what scripts are available
npm run

Review the repo README.md for details on the linters and their configuration.

You can use this structure to setup your own repo for development.

The example programs in src/

The example programs are in their own directory below src/. Each having their own README.md explaining how to get going with the example and what to learn.

The README might also contain reading references into the API used.

Welcome to CoursePress

en utav Linnéuniversitets lärplattformar. Som inloggad student kan du kommunicera, hålla koll på dina kurser och mycket mer. Du som är gäst kan nå de flesta kurser och dess innehåll utan att logga in.

Läs mer lärplattformar vid Linnéuniversitetet

Student account

To log in you need a student account at Linnaeus University.

Read more about collecting your account

Log in LNU