Giter Club home page Giter Club logo

idatt2105_fullstack_project's Introduction

IDATT2105_Fullstack_Project

Project in the course IDATT2105 where the assignment were to create a room reservation webappliaction.

idatt2105-project-BE

Project in the course IDATT2105 backend developed with Spring Boot.

Project setup

Open application.properties in the resource folder under idatt2105-project-BE/src/main and edit spring.datasource.url to own database url as well as spring.datasource username and password fields to personal database username and password

CORS Config

If the client doesnt use localhost:8080, add the desired URL to CorsConfig.java in the config folder. Add the URL to the list found in the method 'config.setAllowedOrigins(List.of("http://localhost:8080"));'.

API Documentation with Swagger UI

http://localhost:8081/swagger-ui.html

Third party libraries used

JWT implementation by teacher Alexander Holt

https://gitlab.stud.idi.ntnu.no/alexholt/spring-boot-aop

JaCoCO

https://www.jacoco.org/jacoco/trunk/index.html

JJWT

https://java.jsonwebtoken.io/

idatt2105-project-FE

Project in the course IDATT2105 frontend developed with Vue3

PS: When accessing the site for the first time you have to use one of the predefined accounts ([email protected] password: admin or [email protected] password: user) to log in. To create your own user you have to log in to the admin site (url: localhost:8080/login/admin) with the admin user and create your own user with your mail (in order to recieve password).

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Set the URI for the server

To specify a URI other than localhost:8081, use the .env and set the 'VUE_APP_API_URL' variable to the wanted URI.

Customize configuration

See Configuration Reference.

Third party libraries used

Mosha Vue Toastify

https://github.com/szboynono/mosha-vue-toastify#the-gist

JWT implementation by teacher Alexander Holt

https://gitlab.stud.idi.ntnu.no/alexholt/vue3-auth

Frappe Charts

https://frappe.io/charts

Moment.js

https://momentjs.com/

Loading.io

https://loading.io/css

Axios

https://axios-http.com/docs/intro

idatt2105_fullstack_project's People

Contributors

thomasdtran avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.