Skip to content

M0squ3ra/my-drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Drive

My Drive is a simple file storage service comprised of a Spring Boot-based backend for managing files, a REST API for communicating with the backend, and a user-friendly web application. Feel free to use this code in your projects.

Requirements

  • Postgresql
  • Node Package Manager (npm)
  • Maven (mvn)

Setup

  • Create a Postgresql user and a database
  • Go to the application.properties file modify the lines 2,3 and 4 with the url of the database, your username and password. The first lines should look like this:
#Database
spring.datasource.url=jdbc:postgresql://localhost:5432/mydrive
spring.datasource.username=postgres
spring.datasource.password=password
  • Install node modules:
cd app
npm install 

Usage

Start Backend

cd api
mvn spring-boot:run 

Start WebApp

cd app
npm start

The WebApp is running on http://localhost:3000. The login page is in http://localhost:3000/auth/login

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published