Skip to content

NextTrack-WAT-ai/Web-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Application for NextTrack's Recommendation Algorithm

Overview

This project consists of two main components:

  1. Frontend: Built with Vite
  2. Backend: Built with Spring Boot

Prerequisites

Make sure you have the following installed before proceeding:

Cloning the Repository

To clone the repository, open a terminal and run:

git clone https://github.com/NextTrack-WAT-ai/Web-Application.git
cd your-repo

Setting up the frontend

Navigate to frontend folder

cd frontend

Install dependencies

npm install 

Run development build

npm run dev 

The Vite app should now be running on http://localhost:5173.

Setting up the backend

Navigate to root backend directory

cd ../spring-boot-app

Do a clean build with Maven

mvn clean install 

Run the spring-boot app

mvn spring-boot:run

The backend should now be running at http://localhost:8080.

MongoDB setup

Ensure that you have MongoDB installed.

Also ensure that the mongoDB service is running as outlined in the docs above.

Navigate to the application.properties file on the backend

cd ../spring-boot-app/src/main/resources/application.properties

Ensure that your application.properties file looks like the following:

spring.application.name=spring-boot-app
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.database=nexttrack

Start mongoDB locally

mongosh

Create the nexttrack db

use nexttrack

Navigate to the nexttrack db

db nexttrack

You should now have mongoDB set up!

About

Web Application for NextTrack's Recommendation Algorithm, Made With Java and TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors