This is our template for the semester project. It contains a basic structure for the project and a few examples of how to use the different parts of the project. You must expand upon the project, refactor when nessasary and make it your own.
We use Trello for projectmanagment. You can find the board here. Note that you should create your own board for your project.
To get started with the project you need to clone the repository and open it in your favorite IDE. We recommend using VS Code. Once you have cloned the repository you need to install the dependencies. This is done by running the following command in the terminal:
npm install
You also need to edit the .env file with values for:
- DB_CONNECTIONSTRING , this is the connectionstring to your database
- DB_SSL, if runing localy this needs to be false
Once the dependencies are installed and the database is runing you can run the project by running the following command in the terminal:
node server.mjs
This will start the server and you can now access the project on http://localhost:8080 in your browser.